How to update ionic v3 app from Android SDK 29 to Android SDK 30?

According to the recent deadlines from [Google],

August 2021 - New apps must target at least Android 11 (API level 30)

November 2021 - Existing apps must target at least Android 11 (API level 30) for new app updates

Even Cordova still not support Android 30.

Cordova does support it!

For me setting

<preference name="android-targetSdkVersion" value="30" />

in config.xml worked :blush:

in my config.xml already available this code
        <preference name="android-minSdkVersion" value="22" />
        <preference name="android-targetSdkVersion" value="30" />
        <preference name="android-compileSdkVersion " value="30" />

But still in my android Platform/android/build.gradle

project.ext {

      defaultBuildToolsVersion="29.0.2" //String

      defaultMinSdkVersion=22 //Integer - Minimum requirement is Android 5.1

      defaultTargetSdkVersion=29 //Integer - We ALWAYS target the latest by default

      defaultCompileSdkVersion=29 //Integer - We ALWAYS compile with the latest by default

    }

You can update SDK platform in android studio.

i already update my sdk version but still but not work

Thank you so much for your answer @Avirup1993 @EinfachHans but your solution not work till cordova
android update. and the good news is Cordova released 10.0.0 finally on 20 July 2021 so now we can
update our application.
Just add inside platform android tag if you have 29 then just replace by 30
(if you have any problem then update your sdk as suggested by @Avirup1993 )

 <preference name="android-targetSdkVersion" value="30" />
ionic cordova platform remove android
ionic cordova platform add android@10.0.0
3 Likes

Does not work.

ionic cordova platform remove android
ionic cordova platform add android@10.0.0