android - Google Play 控制台 - 0 台设备支持的 Android 应用

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

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

这是 list

                <?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 控制台中得到的 enter image description here

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

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

我做错了什么?

最佳答案

问题与 commons.io 包有关,必须更改为:

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

关于android - Google Play 控制台 - 0 台设备支持的 Android 应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50179161/

相关文章:

java - 在 while 循环中比较两个相等的整数时,等于运算符失败?

android - 内置函数警告的不兼容隐式声明使用 NDK 和 LAME

android - 显示一个 PopupWindow 集中

android - Android Market如何安装应用程序?

android - 在精简版中显示 'full paid app' 功能?

java - 如何修复RecyclerView OnClick间隙显示bug?

installation - 当软件包已安装时 msiexec 安静安装

ruby - 在没有互联网连接的情况下安装 Rubygems

android - 安装更高版本的 apk 时出现解析错误

android - 在发布我的应用程序之前在 play.google 上获取我的应用程序链接