Android SDK is bundled with Android Studio
(this is the easiest way to install and use the SDK)
https://developer.android.com/studio
Or you can install it seperately
https://developer.android.com/studio#command-tools
sudo apt-get install libc6-dev-i386 lib32z1 openjdk-8-jdk
Check https://developer.android.com/studio/releases/platforms
Version SDK / API level Version code Codename Cumulative
usage 1 Year
Android 13 Level 33 TIRAMISU Tiramisu 2 No data 2022
Android 12 Level 32 Android 12L S_V2 Snow Cone 2
Level 31 Android 12 S 20.7% 2021
targetSdk must be 31+ for new apps.
Android 11 Level 30 R Red Velvet Cake 2 50.3% 2020
targetSdk must be 30+ for app updates, and new WearOS apps.
targetSdk will need to be 30+ for all existing apps by November 2022. 3
Android 10 Level 29 Q Quince Tart 2 72.1% 2019
Android 9 Level 28 P Pie 82.9% 2018
targetSdk must be 28+ for Wear OS app updates.
Android 8 Level 27 Android 8.1 O_MR1 Oreo 88.4% 2017
Level 26 Android 8.0 O 91.1%
Android 7 Level 25 Android 7.1 N_MR1 Nougat 92.5% 2016
Level 24 Android 7.0 N 95.1%
Android 6 Level 23 M Marshmallow 97.4% 2015
Android 5 Level 22 Android 5.1 LOLLIPOP_MR1 Lollipop 98.8% 2015
Level 21 Android 5.0 LOLLIPOP, L No data 2014
Jetpack Compose requires a minSdk of 21 or higher.
Android 4 Level 20 Android 4.4W 4 KITKAT_WATCH KitKat
Level 19 Android 4.4 KITKAT 2013
Google Play services do not support Android versions below API level 19.
Level 18 Android 4.3 JELLY_BEAN_MR2 Jelly Bean
Level 17 Android 4.2 JELLY_BEAN_MR1 2012
Level 16 Android 4.1 JELLY_BEAN
Level 15 Android 4.0.3 – 4.0.4 ICE_CREAM_SANDWICH_MR1 Ice Cream Sandwich 2011
Level 14 Android 4.0.1 – 4.0.2 ICE_CREAM_SANDWICH
Jetpack/AndroidX libraries require a minSdk of 14 or higher.
Android 3 Level 13 Android 3.2 HONEYCOMB_MR2 Honeycomb
Level 12 Android 3.1 HONEYCOMB_MR1
Level 11 Android 3.0 HONEYCOMB
Android 2 Level 10 Android 2.3.3 – 2.3.7 GINGERBREAD_MR1 Gingerbread
Level 9 Android 2.3.0 – 2.3.2 GINGERBREAD 2010
Level 8 Android 2.2 FROYO Froyo
Level 7 Android 2.1 ECLAIR_MR1 Eclair
Level 6 Android 2.0.1 ECLAIR_0_1 2009
Level 5 Android 2.0 ECLAIR
Android 1 Level 4 Android 1.6 DONUT Donut
Level 3 Android 1.5 CUPCAKE Cupcake
Level 2 Android 1.1 BASE_1_1 Petit Four
Level 1 Android 1.0 BASE
License for package Android SDK Build-Tools 30.0.2 not accepted.