app 找不到 default activity ,无法启动

来源:csdn博客 分类: 文章浏览史 发布时间:2021-07-29 22:53:45 最后更新:2021-07-29 浏览:236
转载声明:
本文为摘录自“csdn博客”,版权归原作者所有。
温馨提示:
为了更好的体验,请点击原文链接进行浏览
摘录时间:
2021-07-29 22:53:45

日志

Error while executing: am start -n "【包名】/org.cocos2dx.javascript.AppActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=【包名】/org.cocos2dx.javascript.AppActivity }
Error type 3
Error: Activity class {【包名】/org.cocos2dx.javascript.AppActivity} does not exist.

Error while Launching activity

场景

开始我的配置文件中使用存在启动项配置

<intent-filter>
   <action android:name="android.intent.action.MAIN" />

   <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

但是启动仍报错

解决:

clean project ---- rebuild project

php技术微信