Android API levels, and a versionCode calculator
Find the Android version behind a minSdk or targetSdk number, and work out a versionCode from your version name.
| API level | Android | Name | Year |
|---|---|---|---|
| 36 | Android 16 | Baklava | 2025 |
| 35 | Android 15 | Vanilla Ice Cream | 2024 |
| 34 | Android 14 | Upside Down Cake | 2023 |
| 33 | Android 13 | Tiramisu | 2022 |
| 32 | Android 12L | Snow Cone v2 | 2022 |
| 31 | Android 12 | Snow Cone | 2021 |
| 30 | Android 11 | Red Velvet Cake | 2020 |
| 29 | Android 10 | Quince Tart | 2019 |
| 28 | Android 9 | Pie | 2018 |
| 27 | Android 8.1 | Oreo | 2017 |
| 26 | Android 8.0 | Oreo | 2017 |
| 25 | Android 7.1 | Nougat | 2016 |
| 24 | Android 7.0 | Nougat | 2016 |
| 23 | Android 6.0 | Marshmallow | 2015 |
| 22 | Android 5.1 | Lollipop | 2015 |
| 21 | Android 5.0 | Lollipop | 2014 |
| 19 | Android 4.4 | KitKat | 2013 |
versionCode calculator
major × 10,000 + minor × 100 + patch
versionCode
21403
versionCode = 21403
versionName = "2.14.3"minSdk, targetSdk and compileSdk
Three numbers in build.gradle use API levels.
- minSdk is the oldest Android version the app installs on.
- targetSdk is the version whose behaviour the app has been tested against. Google Play sets a minimum for new apps and updates and raises it each year.
- compileSdk is the SDK the code is compiled with. It is usually the newest one.
How versionCode works
versionCode is a whole number that must go up with every upload to Google Play, and the largest value Play accepts is 2,100,000,000. versionName is the text people see. A common scheme is major × 10,000 + minor × 100 + patch, which the calculator uses.
Questions and answers
What Android version is API level 24?
Android 7.0 (Nougat), released in 2016.
What API level is Android 15?
API level 35. Android 16 is API level 36.
Does versionCode have to match versionName?
No. They are independent. versionCode only has to be a whole number higher than the last one you uploaded.
Why did Google Play ask for minSdk 24?
Play's automatic protection needs a minimum SDK of 24 or higher. Raise minSdk, or turn automatic protection off for the app in Play Console.
Build and release from one Mac.
VenelX Studio builds your iOS and Android apps on a Mac you own, shares test builds and releases to the stores, from any browser.
Free sign-up. Paid plans, billed yearly. 14-day money-back guarantee. No per-build or per-minute fees.