Ionic 3 issue while generating AAB file

I am trying to create AAB file to upload into play store using Ionic 3 using below 2 commands. This was working fine before, but now it is showing attached issue. Don’t know what has been changed recently.

ionic cordova build android --prod --release

gradlew.bat bundleRelease

Issue i am facing

System Environment

IonicInfo

Appreciate your help, Thanks in advance

I am not sure on your error, but I can tell you that you won’t be able to upload your build to the Google Play store running Cordova v8. You must be targeting Android SDK/API >= 33 and only Cordova >= 12 supports that version.

1 Like

To complete twestrick, your error is you need tu update typescript.

1 Like

Thank you @twestrick and @argCedric for your replay.
Using below command able to get the AAB file

cordova build android --prod --release – --packageType=bundle