android-targetSdkVersion="29" preference not honored

As of Nov 2, the Google Play Store is requiring apps to target API level 29. I have placed the in the global scope and also tried it inside of the element, but when I build in AppFlow, the target SDK still says 28.

In build output:
Android target: android-28

Has anyone else experienced this and been able to resolve?

Thank you

Could be a cordova-android bug.

Which cordova-android version are you using?

If you are not pinning a fixed version, build using 2020.09 or 2020.11 as they will use Cordova CLI 10, which will use cordova-android 9 that targets SDK 29 by default.

1 Like

Thank you so much for your response. Upgrading Cordova was the resolution. Thank you!