Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity&q

Posted loyal888

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity&q相关的知识,希望对你有一定的参考价值。

在华为手机上手动卸载debug版本的app后再次通过adb安装会报如下错误:

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

Error while Launching activity

解决办法: adb uninstall "包名" 

再次adb安装即可成功!

 

以上是关于Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity&q的主要内容,如果未能解决你的问题,请参考以下文章

Error while executing: am start -n "" -a android.intent.action.MAIN -c android.intent.cate

Error while executing: am start -n "" -a android.intent.action.MAIN -c android.intent.cate

[Android]异常2-Unexpected error while executing

ERROR conda.core.link:_execute(502): An error occurred while installing package ‘conda-forge::setupt

xception: An error occurred while executing doInBackground()

安装owncloud出现:Error while trying to create admin user: An exception occurred while executing