google Play 商店中有 0 个支持的设备
0 supported devices in google play store
我在 Play 商店上传了 apk,它说支持 0 个设备,我也更改了 targeted sdk,正如另一个答案中所建议的,但它没有用。
manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eadevelopers.tatto">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<permission android:name="com.eadevelopers.tatto.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="true"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
<uses-feature android:name="android.hardware.camera2.full" android:required="true"/>
<application
android:name="com.eadevelopers.tatto.Global"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/icon_80"
android:label="@string/app_name"
android:largeHeap="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
gradle 文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.eadevelopers.tatto"
minSdkVersion 14
targetSdkVersion 27
versionCode 3
versionName "1.2"
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled false
}
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled false
}
}
}
dependencies {
implementation files('libs/mint-5.1.0.jar')
implementation 'com.android.support:support-v4:25.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.google.android.gms:play-services-ads:15.0.0'
}
这些是我的清单和 gradle 文件。我已经更改了目标 sdk 版本但是没有用我认为问题出在权限的某个地方但我不知道在哪里。我已经上传了 3 个有变化的 apk,但支持的设备仍然是 0。
好的,我修好了。周杰伦的评论。
Remove <permission android:name="com.eadevelopers.tatto.CAMERA" /> and add 'android:required="false"' to all uses-feature. – Jay Jun 28 at 8:08
我在 Play 商店上传了 apk,它说支持 0 个设备,我也更改了 targeted sdk,正如另一个答案中所建议的,但它没有用。
manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eadevelopers.tatto">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<permission android:name="com.eadevelopers.tatto.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="true"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
<uses-feature android:name="android.hardware.camera2.full" android:required="true"/>
<application
android:name="com.eadevelopers.tatto.Global"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/icon_80"
android:label="@string/app_name"
android:largeHeap="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
gradle 文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.eadevelopers.tatto"
minSdkVersion 14
targetSdkVersion 27
versionCode 3
versionName "1.2"
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled false
}
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled false
}
}
}
dependencies {
implementation files('libs/mint-5.1.0.jar')
implementation 'com.android.support:support-v4:25.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.google.android.gms:play-services-ads:15.0.0'
}
这些是我的清单和 gradle 文件。我已经更改了目标 sdk 版本但是没有用我认为问题出在权限的某个地方但我不知道在哪里。我已经上传了 3 个有变化的 apk,但支持的设备仍然是 0。
好的,我修好了。周杰伦的评论。
Remove <permission android:name="com.eadevelopers.tatto.CAMERA" /> and add 'android:required="false"' to all uses-feature. – Jay Jun 28 at 8:08