No Launcher activity found! The launch will only sync the application package on the device!

运行环境,android4.1,ADT20插件下,启动模拟器时出现上述问题,原因:AndroidMainfest.xml文件中不自动生成注册信息,解决办法:在<activity..../>下键入

<intent-filter>

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

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

<intent-filter>

问题解决!

你可能感兴趣的:(No Launcher activity found! The launch will only sync the application package on the device!)