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>

 

posted @ 2014-09-24 09:21  职场人的思考  阅读(853)  评论(0编辑  收藏  举报