Error while executing: am start

2019-11-18  本文已影响0人  失吾爱后而心死

android studio 链接手机安装apk一直是正常使用,今天报错了,郁闷,,错误为:

Error while executing: am start -n "com.nxhope.guyuan/com.nxhope.guyuan.activity.SplashActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.nxhope.guyuan/.activity.SplashActivity }
Error type 3
Error: Activity class {com.nxhope.guyuan/com.nxhope.guyuan.activity.SplashActivity} does not exist.
Error while Launching activity

尝试了各种方式不行。
最后,把小米手机换掉,用华为的测试机,没有问题,用vivo,也没有问题,搞定,小米的手机可能被我设置了啥。

上一篇 下一篇

猜你喜欢

热点阅读