简体   繁体   中英

how to upgrade android sdk version by command line

i am new to Android development and i want to upgrade my android sdk version from 32.1.0-rc1 to 33.0.0-rc2. And i have another question what is the difference between compileSdkVersion and targetSdkVersion on the file build.gradle on flutter?

For update sdk by command LINE, see this gist:

https://gist.github.com/srayhunter/4bce340b62109b5bae43

sdkmanager "build-tools;30.0.2" "platforms ;

About the difference...

The compileSdkVersion is the version of the API the app is compiled against. This means you can use Android API features included in that version of the API. And the targetSdkVersion indicate that you have tested your app on the version you specify.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM