Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How to update capacitor to use android project to SDK v30

$
0
0

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?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>