2015-06-07 349 views
2

發現屬性supportsRtl沒有資源標識符我用科爾多瓦用於建立一個Android應用程序。我執行cordova build android --release命令後,顯示此錯誤:科爾多瓦

D:\xampp\htdocs\shie_cordova\shia\platforms\android\build\intermediates\manifests\full\release\AndroidManifest.xml:22: error: no resource identifier found for attribute supportsRtl in package android.

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> 

請幫助我。

+0

請你的清單文件 – bmscomp

+0

你需要什麼信息,以瞭解更多信息? –

+1

有問題的android:supportsRtl =「true」,你需要一個右鍵到左鍵的支持嗎? – bmscomp

回答

1

爲您的Android:supportsRtl =「真」,那麼你的targetSdk必須在17