【问题标题】:Google Play Console - Android app suported by 0 devicesGoogle Play Console - 0 台设备支持的 Android 应用
【发布时间】:2018-05-04 16:10:46
【问题描述】:

我在 Google Play 控制台中设置我的 Android 应用时遇到问题。 上传 apk 后,我看到“支持的 Android 设备 - 0 台设备”。

这是清单

                <?xml version="1.0" encoding="utf-8"?>
            <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                package="xxxxxx">

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

                <application
                    android:allowBackup="true"
                    android:hardwareAccelerated="true"
                    android:icon="@drawable/xxxxxx"
                    android:label="@string/app_name"
                    android:supportsRtl="false"
                    android:theme="@style/AppTheme">
                    <activity
                        android:name=".SplashActivity"
                        android:theme="@style/SplashTheme">
                        <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 26
                defaultConfig {
                    applicationId "xxxxxxxxxx"
                    minSdkVersion 23
                    targetSdkVersion 26
                    versionCode 5
                    versionName "1.0.1"
                    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
                    vectorDrawables.useSupportLibrary = true
                }
                lintOptions {
                    checkReleaseBuilds false
                    abortOnError false
                }
                buildTypes {
                    release {
                        minifyEnabled true
                        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                    }
                }
            }

            dependencies {
                compile fileTree(dir: 'libs', include: ['*.jar'])
                androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
                    exclude group: 'com.android.support', module: 'support-annotations'
                })
                implementation 'com.android.support:appcompat-v7:26.1.0'
                implementation 'com.android.support:preference-v7:26.1.0'
                implementation 'com.android.support:preference-v14:26.1.0'
                implementation 'com.android.support:design:26.1.0'
                implementation 'com.android.support:recyclerview-v7:26.1.0'
                implementation 'com.android.support:cardview-v7:26.1.0'
                implementation 'com.android.support:gridlayout-v7:26.1.0'
                implementation 'com.android.support.constraint:constraint-layout:1.0.2'
                implementation 'com.android.support:palette-v7:26.1.0'
                compile 'com.squareup.picasso:picasso:2.5.2'
                compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
                implementation 'com.android.support:support-v4:26.1.0'
                testCompile 'junit:junit:4.12'

                compile 'com.jakewharton:butterknife:8.8.1'
                annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
            }

这就是我在 Google Play 控制台中得到的

该应用已经在一些设备上进行了测试。

我知道这是一个常见问题,但我发现的大多数问题都与相机权限有关。

我做错了什么?

【问题讨论】:

    标签: android installation google-play google-play-console


    【解决方案1】:

    问题是相关的 commons.io 包,必须更改为:

    编译'commons-io:commons-io:2.4'

    【讨论】:

    • 请随意批准您自己的答案,因为问题将被标记为已解决(您不会获得积分)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多