新手编程常见的问题:
问题表现:
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>
时间: 2024-10-07 23:51:55