Can't set the API version to Google Play acceptable number
Unsolved
Mobile and Embedded
-
I can't figure out how to force Qt Creator et al to build the app using API version 31 or later. Specifying it in the Projects -> Build -> Build Android APK has no effect.
Specifying it in the AndroidManifest.xml results in major compile errors.I'm trying to build an AAB so the Play store will accept it. I'm using Qt 5.15.2 and qmake.
-
sigh I ended up having to hard code version numbers in the build.gradle file.
compileSdkVersion 33 buildToolsVersion '33.0.2' defaultConfig { resConfig "en" //minSdkVersion = qtMinSdkVersion <--- Doesn't work //targetSdkVersion = qtTargetSdkVersion <--- Doesn't work minSdkVersion 33 targetSdkVersion 33 }