My target SDK version is 25 but Google Play says app only supports 4.1-4.4 devices?

 ̄綄美尐妖づ 提交于 2019-12-23 19:13:26

问题


android {
compileSdkVersion 25
buildToolsVersion "25.0.0"

defaultConfig {
    applicationId "com.abc.ege"
    minSdkVersion 16
    targetSdkVersion 25
    versionCode 3
    versionName "1.1.3"
    vectorDrawables.useSupportLibrary = true
}
}

Although my target sdk version is 25, when I upload the apk to play store, it says "not compatible with devices with android version 4.4 and over, where is the problem?

edit: app works fine on emulators and there is no hardware access in manifest file


回答1:


I think you should lowerize targetSdkVersion to 24, as 25 (7.1) is not released yet.




回答2:


Solved the issue. Looks like an external library's android manifest file maxSDK is set to 19.



来源:https://stackoverflow.com/questions/40941086/my-target-sdk-version-is-25-but-google-play-says-app-only-supports-4-1-4-4-devic

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