0
我在這個主題中看到很多問題,但我在這裏找不到解決方案:Zero supported device when publishing to Google Play或這裏:No supported device for my Android app in Google Play。上傳到Google Play時沒有支持的設備
我的應用使用權限,並且在我的代碼中沒有使用特性,所以required:false參數無法幫助。我也插入支持屏幕行,但沒有任何變化。
清單:
<?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
搖籃:
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')
}
我試圖刪除所有權限,但結果是一樣的。我試圖添加兼容屏幕,但結果是一樣的。