Timed out waiting for process (xxx) to appear on错误 您所在的位置:网站首页 MagicBox_M20C Timed out waiting for process (xxx) to appear on错误

Timed out waiting for process (xxx) to appear on错误

2024-03-27 23:32| 来源: 网络整理| 查看: 265

Timed out waiting for process com.xxx to appear on xx 错误 最近在做Flutter的开发,有段时间没动原生代码了。上周由于有个App问题必须修改,又把原生代码翻出来,可以点击AndroidStudio菜单栏中的运行按钮后,build过程迅速结束,开始还以为新版AS有啥改进呢。可仔细一看run窗口的log,报错内容大概如下:

Launching 'app' on xxx Timed out waiting for process (xxx) to appear on Phone

似乎根本就没有执行安装apk到手机,再查看build目录,发现apk也没有生成。尝试直接执行gradle命令,installRelease,installDebug等命令均可正常执行,app也安装到手机上。

开始在网上搜索关于“Timed out waiting for process (xxx) to appear on”,大概有如下方法: 1.把调试配置中的启动选项从Nothing设置为Default Activity即可 2.File > Invalidate Caches / Restart… > Just Restart 3.Gradle配置中加debuggable true 4.AndroidStudio版本问题 5.re-starting adb 当然还有别的各种方法,统统试过了,没有任何效果。开始怀疑是AndroidStudio版本问题,想去看看有没有新版,发现已经是最新版了。 偶然间重启的时候,AS右下角弹出个错误提示,点开后,发现是HMS Tools好像运行报错了。反正华为这个服务也就觉得太臃肿了,早就想卸载了。正好试一下,哈哈,没想到。卸载完之后,一切正常了。 看来着罪魁祸首就是HMS啊。再也不装这个插件了。拜拜了您呢。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有