2015-12-08 94 views
-1

我知道這個問題已被問了很多次。但是這個論壇上的所有帖子目前都沒有幫助我。請協助,我的應用似乎與任何設備都不兼容。我已經包含的圖片,我的清晰度清單文件應用程序似乎不與任何設備兼容

Android play Store screenshot

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="za.co.coolnot.miim" > 
    <supports-screens 
     android:smallScreens="true" 
     android:normalScreens="true" 
     android:largeScreens="true" 
     android:xlargeScreens="true" 
     android:anyDensity="true" 

     /> 


    <uses-permission android:name="android.permission.INTERNET" /> 
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 

    <application 
     android:name=".Miim" 
     android:allowBackup="true" 
     android:icon="@mipmap/miim" 
     android:label="@string/app_name" 
     android:theme="@style/White" > 
     <meta-data 
      android:name="com.facebook.sdk.ApplicationId" 
      android:value="@string/app_id" /> 
     <activity 
      android:name=".MainActivity" 
      android:screenOrientation="portrait" 
      android:label="@string/app_name" > 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 

       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 
     <activity 
      android:name="com.facebook.FacebookActivity" 
      android:screenOrientation="portrait" 
      android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" 
      android:label="@string/app_name" 
      android:theme="@android:style/Theme.Translucent.NoTitleBar" /> 
     <activity 
      android:screenOrientation="portrait" 
      android:name=".Home" 
      android:label="@string/title_activity_home" > 
     </activity> 
     <activity 
      android:screenOrientation="portrait" 
      android:name=".SelectPages" 
      android:label="@string/title_activity_select_pages" > 
     </activity> 
     <activity 
      android:screenOrientation="portrait" 
      android:name=".Settings" 
      android:label="@string/title_activity_settings" > 
     </activity> 
     <activity 
      android:name=".Error" 
      android:screenOrientation="portrait" 
      android:label="@string/title_activity_error" > 
     </activity> 
     <activity 
      android:screenOrientation="portrait" 
      android:name=".About" 
      android:label="@string/title_activity_about" > 
     </activity> 
    </application> 

回答

0

替換編譯從的build.gradle 'org.apache.directory.studio:org.apache.commons.io:2.4'(應用級)

與編譯「公地-10:公共-i:2.4'

+0

把答案放在這裏,不要只是粘貼一個鏈接,該鏈接可能會死亡。 – csmckelvey

0

使用<兼容屏>代替,as explained here

<manifest ... > 
    <compatible-screens> 
     <!-- all small size screens --> 
     <screen android:screenSize="small" android:screenDensity="ldpi" /> 
     <screen android:screenSize="small" android:screenDensity="mdpi" /> 
     <screen android:screenSize="small" android:screenDensity="hdpi" /> 
     <screen android:screenSize="small" android:screenDensity="xhdpi" /> 
     <!-- all normal size screens --> 
     <screen android:screenSize="normal" android:screenDensity="ldpi" /> 
     <screen android:screenSize="normal" android:screenDensity="mdpi" /> 
     <screen android:screenSize="normal" android:screenDensity="hdpi" /> 
     <screen android:screenSize="normal" android:screenDensity="xhdpi" /> 
    </compatible-screens> 
    ... 
    <application ... > 
     ... 
    <application> 
</manifest> 

...因爲:

雖然你也可以使用<兼容屏>的 反向方案(當你的應用程序與小 屏幕兼容),這是更容易,如果你不是使用<支持屏>在接下來的討論 元素部分,因爲它不要求您指定您的應用程序支持的每個屏幕密度。

+0

感謝您的建議。我剛剛嘗試過,問題仍然存在。 – mahlombe

相關問題