android开发遇到的问题:

xiaoxiao2021-02-27  147

android开发遇到的问题:

1、Bundle cannot be resolved to a type

处理了方法:需要添加import android.os.Bundle

2、No Launcher activity found!

处理方法:AndroidManifest.xml中添加                

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

转载请注明原文地址: https://www.6miu.com/read-14041.html

最新回复(0)