新手编程常见的问题:

问题表现:

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

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

 

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

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

 

相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2021-12-27
  • 2021-12-06
  • 2021-09-11
  • 2022-02-03
  • 2022-12-23
猜你喜欢
  • 2021-07-23
  • 2021-09-21
  • 2021-06-27
  • 2022-12-23
  • 2021-12-22
  • 2022-03-08
  • 2021-07-23
相关资源
相似解决方案