为什么 android:minSdkVersion 有错误?还有如何将 android:icon 更改为默认值?我试过 android:icon="true" 但它是错误的。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.testing"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" /> //Error : <uses-sdk> tag should specify a
target API level (the highest verified version; when running on later versions,
compatibility behaviors may be enabled) with android:targetSdkVersion="?"
<application android:icon="true" android:label="@string/app_name"> //Error : Boolean
types not allowed (at 'icon' with value 'true').
<activity android:name=".LoginActivity"
android:label="Login to your Account">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Entry for RegisterActivity.class -->
<activity android:name=".RegisterActivity"
android:label="Register New Account"></activity>
</application>
</manifest>