首页 > 代码库 > android编程常见问题-No Launcher activity found!

android编程常见问题-No Launcher activity found!

新手编程常见的问题:

问题表现:

console提示:No Launcher activity found! The launch will only sync the application package on the device!

 

解决办法:检查AndroidManifest.xml中是否添加如下代码:

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

 

android编程常见问题-No Launcher activity found!