Activity class {} does not exist
程序员文章站
2024-03-08 18:56:58
...
今天上午从git上拉了代码编译,发现As报错,如下:
11/04 11:11:47: Launching 'app' on HUAWEI ELS-AN00.
$ adb shell am start -n "com.swap.space.zh3721.store/com.swap.space.zh3721.store.ui.welcom.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Error while executing: am start -n "com.swap.space.zh3721.store/com.swap.space.zh3721.store.ui.welcom.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.swap.space.zh3721.store/.ui.welcom.WelcomeActivity }
Error type 3
Error: Activity class {com.swap.space.zh3721.store/com.swap.space.zh3721.store.ui.welcom.WelcomeActivity} does not exist.
Error while Launching activity
从日志来看,说WelcomeActivity这个类不存在,我检查了AndroidManifest配置文件,发现这个类存在而且配置的包名和路径都是对的,想想是不是手动卸载不干净导致的,试了下果然可以,耽误了我一个小时的时间,在此记录下,下次别犯同样的错误。
adb uninstall com.swap.space.zh3721.store
推荐阅读
-
Keepalived报错 default user does not exist 。。
-
Activity class {} does not exist
-
count does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manu
-
The specified JRE installation does not exist 博客分类: JAVA
-
The specified JRE installation does not exist 博客分类: JAVA
-
This network connection does not exist
-
OGG执行DDL复制报ORA-01435 user does not exist
-
Serv_U 安全设置以后出现530 Not logged in, home directory does not exist的解决方法
-
mysql的“The user specified as a definer (”@’%') does not exist”问题 解决
-
ecstore 安装后提示require function does not exist in....