Công nghệ

Android api version

Table of Content

Android Codenames, Tags, and Build Numbers

Android api version

Tình hình là mấy nay build app android, thấy google thông báo kể từ ngày 2 tháng 11 năm 2020 các apps cần cập nhật Android SDK version để chạy được trên Adnroid 10 (API cấp độ 29). Do vậy mình note cái này ở đây để tiện theo dõi.

CodenameVersionAPI level/NDK release
Android1010API level 29
Pie9API level 28
Oreo8.1.0API level 27
Oreo8.0.0API level 26
Nougat7.1API level 25
Nougat7.0API level 24
Marshmallow6.0API level 23
Lollipop5.1API level 22
Lollipop5.0API level 21
KitKat4.4 - 4.4.4API level 19
Jelly Bean4.3.xAPI level 18
Jelly Bean4.2.xAPI level 17
Jelly Bean4.1.xAPI level 16
Ice Cream Sandwich4.0.3 - 4.0.4API level 15, NDK 8
Ice Cream Sandwich4.0.1 - 4.0.2API level 14, NDK 7
Honeycomb3.2.xAPI level 13
Honeycomb3.1API level 12, NDK 6
Honeycomb3.0API level 11
Gingerbread2.3.3 - 2.3.7API level 10
Gingerbread2.3 - 2.3.2API level 9, NDK 5
Froyo2.2.xAPI level 8, NDK 4
Eclair2.1API level 7, NDK 3
Eclair2.0.1API level 6
Eclair2.0API level 5
Donut1.6API level 4, NDK 2
Cupcake1.5API level 3, NDK 1
(no codename)1.1API level 2
(no codename)1.0API level 1

In Android 8.0.0 (Oreo) and higher, individual builds are identified with the build ID format PVBB.YYMMDD.bbb[.Cn], where:

  • P represents the first letter of the codename of the platform release, for example, O is Oreo.
  • V represents a supported vertical. By convention, P represents the primary platform branch.
  • BB is an alphanumeric code that allows Google to identify the exact code branch the build was made from.
  • YYMMDD identifies the date when the release is branched from or synced with the development branch. It's not always the exact date at which a build was made as it's common for minor variations added to an existing build to re-use the same date code as the existing build.
  • bbb identifies individual versions related to the same date code, sequentially starting with 001.
  • Cn is an optional, alphanumeric that identifies a hotfix on top of an existing PVBB.YYMMDD.bbb build, starting from A1.

Older Android releases use a different, shorter build ID code (for example, FRF85B) where:

  • The first letter is the codename of the release family, for example, F is Froyo.
  • The second letter is a branch code that allows Google to identify the exact code branch the build was made from. By convention, R is the primary release branch.
  • The third letter and following two numbers are a date code. The letter counts quarters (A is Q1 2009, F is Q2 2010, and so on). The two numbers count days within the quarter (F85 is June 24, 2010). The date code isn't always the exact date at which a build was made as it's common for minor variations added to an existing build to re-use the same date code as the existing build.
  • The last letter identifies individual versions related to the same date code, sequentially starting with A (which is implicit and usually omitted for brevity).

https://source.android.com/setup/start/build-numbers

Leave a Reply

Your email address will not be published. Required fields are marked *