Hi! When I try to submit an update for my app to the play store with version code 2003, I get this message:
Permission model downgrade
Users that have the APK with version code 1201, which targets SDK 23 or higher, will receive an error when they attempt to upgrade to this APK because it targets SDK 22.
Ensure that your release includes APKs targeting SDK 23 or higher to which all users that have the APK with version code 1201 can upgrade.
After I run the
ionic cordova build android --release command, the
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26" /> but I still get the error above.
When I checked the
AndroidManifest.xml in Android Studio, the Merged Manifest tab shows
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" />. The log said the targetSdkVersion value is added by Gradle.
What do I need to do to set the target SDK to 23 or higher?