1. No Launcher activity found!
今天启动Android App时, 出现以下错误:
[2013-06-02 22:55:50 - Demo1] No Launcher activity found!
[2013-06-02 22:55:50 - Demo1] The launch will only sync the application package on the device!
原因是: 在 AndroidManifest.xml没有加:
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.MAIN" />
</intent-filter>
所以启动器找不到要启动的Activity。
-----------------------------------------------------------------------------------
修改前的 AndroidManifest.xml: