Skip to content

Latest commit

 

History

History
284 lines (274 loc) · 9.83 KB

index.md

File metadata and controls

284 lines (274 loc) · 9.83 KB
layout
default

{::options parse_block_html="true" /}

This is an overview of all Android versions and their corresponding identifiers for Android developers. Anyone is welcome to open an issue or pull request. Happy developing!

* TOC {:toc}
{% include progress-cell.html percentage=21.1 %} {% include progress-cell.html percentage=55.2 %} {% include progress-cell.html percentage=71.7 %} {% include progress-cell.html percentage=80.4 %} {% include progress-cell.html percentage=84.3 %} {% include progress-cell.html percentage=86.8 %} {% include progress-cell.html percentage=90.9 %} {% include progress-cell.html percentage=95.3 %} {% include progress-cell.html percentage=98 %} {% include progress-cell.html percentage=98.6 %} {% include progress-cell.html percentage=99.6 %} {% include progress-cell.html percentage=98.7 %} {% include progress-cell.html percentage=99.8 %} {% include progress-cell.html percentage=99.9 %}
Version SDK / API level Version code Codename Cumulative
usage 1
Year
Android 12 BETA Level 31 S Snow Cone 2 No data TBD
Android 11 Level 30 R Red Velvet Cake 2 2020
  • targetSdk must be 30+ for new apps by August 2021 and app updates by November 2021.
Android 10 Level 29 Q Quince Tart 2 2019
Android 9 Level 28 P Pie2018
Android 8 Level 27 Android 8.1 O_MR1 Oreo2017
Level 26 Android 8.0 O
Android 7 Level 25 Android 7.1 N_MR1 Nougat2016
Level 24 Android 7.0 N
Android 6 Level 23 M Marshmallow2015
Android 5 Level 22 Android 5.1 LOLLIPOP_MR1 Lollipop2015
Level 21 Android 5.0 LOLLIPOP, L2014
Android 4 Level 19 3 Android 4.4 KITKAT KitKat2013
Level 18 Android 4.3 JELLYBEAN_MR2 Jelly Bean
Level 17 Android 4.2 JELLYBEAN_MR12012
Level 16 Android 4.1 JELLYBEAN
Level 15 Android 4.0.3 – 4.0.4 ICE_CREAM_SANDWICH_MR1 Ice Cream Sandwich No data 2011
Level 14 Android 4.0.1 – 4.0.2 ICE_CREAM_SANDWICH
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 None
Level 1 Android 1.0 BASE 2008

Definitions

SDKs

  • minSdk (Kotlin) / minSdkVersion (Groovy): The minimum SDK version your app will support, defined in build.gradle. For example, if your minSdk is 26, this SDK version corresponse to API Level 26 and Android 8, so your app will only run on devices with Android 8 or higher.
  • targetSdk (Kotlin) / targetSdkVersion (Groovy): The SDK version that your app targets, defined in build.gradle. This should always be the same as compileSdk.
  • compileSdk (Kotlin) / compileSdkVersion (Groovy): The SDK version that your app compiles against, defined in build.gradle. Android Studio uses this SDK version to build your AABs and APKs. This should always be the same as targetSdk.

Notes

  1. Cumulative usage distribution figures were last updated on August 11, 2020 using data from Statcounter GlobalStats. These figures may have changed significantly since the last update. You may update the figures yourself with a pull request. ↩

  2. The codenames for Android 10 and above in the table are the internal codenames. Beginning with Android 10, Google dropped the usage of codenames publicly.

  3. API Level 20 is missing from the table because it matches Android 4.4W, the version that makes Android available for Android Wear. ↩

See also