Unsolved Android app cannot be published due to targetSdkVersion
-
Hi,
I want to publish my app in Google Play that returns one error message:
"Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 29."In 'Projects' -> 'Build' -> 'Build Android Apk'
I have selected 'Android Build SDK' to 'android-29'.Content of gradle.properties in build directory:
androidCompileSdkVersion=29 qtMinSdkVersion=21 qtTargetSdkVersion=28 android.bundle.enableUncompressedNativeLibs=false androidBuildToolsVersion= buildDir=build qt5AndroidDir=E:/IT/Qt5.13/5.15.1/android/src/android/java
I have no idea what I am doing wrong...
Any idea?
-
@Devoo said in Android app cannot be published due to targetSdkVersion:
qtTargetSdkVersion=28
This should be 29. You can set it up in your AndroidManifest file easily (Qt Creator has a nice editor for this file, too).