Search code examples
androidandroid-gradle-plugingoogle-playversionandroid-5.0-lollipop

My app's minSdkVersion is 14 and targetSdkVersion is 21 but Google Play judge it just support Android 4.0~4.4


compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
    applicationId "me.drakeet.seashell"
    minSdkVersion 14
    targetSdkVersion 21
    versionCode 80
    versionName "2.2"
}

Above code is in my gradle.build, and my app run perfectly in Android Lollipop (5.0), so I am puzzled that why Play judge and limit it just support Android 4.0~4.4, why not 5.0+? Thanks!


Solution

  • I have fix it. just add:

    maxSdkVersion 21
    

    in the gradle.build nearby minSdkVersion.