我使用Cordova构建Android应用程序 . 执行 cordova build android --release
命令后,显示以下错误:
D:\ xampp \ htdocs \ shie_cordova \ shia \ platforms \ android \ build \ intermediates \ manifests \ full \ release \ AndroidManifest.xml:22:错误:找不到包android中属性supportsRtl的资源标识符 .
AndroidManifest.xml文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.shia.main"
android:hardwareAccelerated="true"
android:versionCode="10"
android:versionName="0.0.1" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="15" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:supportsRtl="true">
<activity
android:name="com.shia.main.MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:label="@string/activity_name"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustResize" >
<intent-filter android:label="@string/launcher_name" >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
请帮我 .
1 回答
当你使用android:supportsRtl =“true”时你的targetSdk必须是17