gpt4 book ai didi

android - Google Play商店中0个受支持的设备

转载 作者:行者123 更新时间:2023-12-03 06:33:18 33 4
gpt4 key购买 nike

我将apk上传到了Play商店,并说支持0台设备,我也更改了目标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'

}

这些是我的 list 文件和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

关于android - Google Play商店中0个受支持的设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51077682/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com