java - Google Play - 零支持的设备

标签 java android

我正在尝试发布应用程序,但无论我尝试什么,开发人员控制台都会报告支持的设备数为零。 Google Play 商店显示支持的设备为零,我不知道为什么。我到处寻找但没有得到答案 我尝试更改 list 。 有人可以帮助我吗?

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

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity"
            android:screenOrientation="portrait">a
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".InfoActivity"
            android:screenOrientation="portrait"></activity>
    </application>

</manifest>

GRADLE

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "24.0.0"
    defaultConfig {
        applicationId "com.allegretti.countrypowerstation"
        minSdkVersion 18
        targetSdkVersion 23
        versionCode 4
        versionName "1.0.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    useLibrary 'org.apache.http.legacy'

}

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'
    })
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'org.apache.directory.studio:org.apache.commons.io:2.4'

    testCompile 'junit:junit:4.12'
}

有人可以帮助我吗?

更新 这个库导致了这个问题 编译 'org.apache.directory.studio:org.apache.commons.io:2.4'

最佳答案

尝试更改 -> 编译 'org.apache.directory.studio:org.apache.commons.io:2.4' 到 编译'commons-io:commons-io:2.4'

关于java - Google Play - 零支持的设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43550415/

相关文章:

java - 通过 TCP/IP 从 Droid 发送恒定速率数据流

java - Android 模拟器失败

Java - 尝试显示文件夹中文件的上次修改日期

java - 无法转换项目... Intellij IDE 中的文件过早结束错误

java - 如何为 r.js 提供伪文件系统?

安卓工作室 : Preview is missing in View -> Tool Windows ->

java - 捕获 NullPointerException 的替代方法

java - 如何使用 mysqlimport?

java - RecyclerView 的项目在屏幕上的位置在运行时发生变化

Android keystore 密码更改