I am not sure how to update my capacitor Android project to target SDK v30.
Every time I do rm -rf ./android && ionic capacitor copy android
and edit the build.gradle
and variables.grade
to set
compileSdkVersion = 30
targetSdkVersion = 30
uploading the apk
fails on the play store with
Your app currently targets API level 29 and must target at least API level 30 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 30.
I bet I only have to update capacitor somehow or run it with a flag, but just which one?