2016-03-21 9 views
0

このトピックでは多くの質問がありますが、解決策が見つからない場合はZero supported device when publishing to Google PlayまたはNo supported device for my Android app in Google Playです。Googleへのアップロード時にサポートされているデバイスがありません

私のアプリケーションではアクセス権が使用されているため、コードには使用機能はありません。したがって、required:falseパラメータは役に立ちません。サポート画面も挿入しますが、何も変わりません。

マニフェスト:

私は1つのライブラリを使用し
<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.borbas.rawedding" 
android:versionCode="3" 
android:versionName="1.2" > 

<supports-screens 
    android:xlargeScreens="true" 
    android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:anyDensity="true" 
    /> 

<uses-sdk 
    android:minSdkVersion="14" 
    android:targetSdkVersion="23" /> 



<uses-permission android:name="android.permission.INTERNET" /> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> 
<!-- 
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use 
    Google Maps Android API v2, but are recommended. 
--> 
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 

<application 
    android:allowBackup="true" 
    android:icon="@drawable/ic_launcher" 
    android:label="@string/app_name" 
    android:theme="@style/AppTheme" > 

    <uses-library android:name="com.google.android.maps" /> 
    <uses-library android:name="com.google.android.maps.gps" /> 
    <meta-data 
     android:name="com.google.android.maps.v2.API_KEY" 
     android:value="AIzaSyAPKFe0-mXI4rHR6iU8u9INT7inyp8E7Y0" /> 
    <activity 
     android:name="com.borbas.rawedding.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.borbas.rawedding.SaveTheDate" 
     android:screenOrientation="portrait" 
     android:label="@string/title_section1" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.Screenplay" 
     android:screenOrientation="portrait" 
     android:label="@string/title_section4" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.SaveTheDate_old" 
     android:label="@string/title_section1" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.MapsActivity" 
     android:label="@string/title_section1" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.WhereIsTheLove" 
     android:label="@string/title_section2" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.WhereIsTheLove_old" 
     android:label="@string/title_section2" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.Countdown" 
     android:label="@string/title_section3" > 
    </activity> 
    <activity 
     android:name="com.borbas.rawedding.Playlist" 
     android:label="@string/title_section5" > 
    </activity> 
</application> 

:org.apache.http.legacy.jar

のGradle:

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 23 
buildToolsVersion '23.0.2' 
defaultConfig { 
    applicationId "com.borbas.rawedding" 
    minSdkVersion 15 
    targetSdkVersion 23 
} 
signingConfigs { 
    release { 
     storeFile file("keystore.jks") 
     storePassword "xxxxxxx" 
     keyAlias "keystore" 
     keyPassword "xxxxxxx" 
    } 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 
     signingConfig signingConfigs.release 
    } 
} 
productFlavors { 
} 
} 

dependencies { 
    //compile 'com.android.support:support-v4:22.1.1' 
    //compile 'com.android.support:appcompat-v7:22.1.1' 
    //compile 'cz.msebera.android:httpclient:4.4.1.1' 
    compile 'com.android.support:appcompat-v7:23.1.1' 
    compile 'com.google.android.gms:play-services:8.4.0' 
    compile files('libs/org.apache.http.legacy.jar') 
} 

私はすべての権限を削除しようとしましたしかし、結果は同じでした。互換性のある画面を追加しようとしましたが、結果は同じでした。

答えて

0

私はこの問題を修正しました。 解決策は、マニフェストファイルを変更したことです。アプリケーションタグの下に私は2つのuse-libraryタグを持っています。行の最後に、私は

android:reqiured="false" 

を追加していると私はorg.apache.http.legacy.jar使用して第三の用途・ライブラリのタグを追加しました:今私が持っている

<uses-library android:name="org.apache.http.legacy.jar" android:required="false" /> 

そして、 8872サポートされたデバイスを持っています。

関連する問題