Zero supported device when publishing to Google Play

余生长醉 提交于 2019-12-11 11:37:58

问题


I am running into the zero supported device issue when publishing an Android application. I upload an APK, and Google Play tells me there is zero supported device.

My manifest is pretty simple, the only thing apart from the <application> section is this:

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

I have no file in app/libs. I am using Android Studio.

The build.gradle file looks like this:

android {
    compileSdkVersion 20
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "com.the.application"
        minSdkVersion 15
        targetSdkVersion 20
        versionCode 902
        versionName "0.9.0"
    }
    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    productFlavors {
        production {
            packageName "com.the.application"
        }

        test {
            packageName "com.the.application.test"
        }
    }
}

repositories {
    mavenCentral()
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:support-v4:20.0.0'
    compile 'com.google.zxing:core:3.0.0'
    compile 'com.google.zxing:android-integration:3.1.0'
}

Any clue what could cause that?

来源:https://stackoverflow.com/questions/26262303/zero-supported-device-when-publishing-to-google-play

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!