解决办法,可能是manifest 太长 工具无法识别

   修改manifest 先只保留一个启动的acitivity 让Androidstudio 识别manifest。然后在恢复正常的manifest 

<activity
android:name=".view.activity.adver.AdverActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<!--android:theme="@android:style/Theme.NoTitleBar.Fullscreen"-->
<intent-filter>
<action
android:name="android.intent.action.MAIN"
android:launchMode="singleTask" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>


Androidstudio 识别manifest成功的时候是这样的

Android Studio 4.0  不能启动应用

 

相关文章:

  • 2022-12-23
  • 2021-04-18
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-12-28
  • 2021-05-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2021-06-16
  • 2021-05-27
  • 2021-10-18
  • 2021-07-19
相关资源
相似解决方案