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
}
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 )