以下 Android api 表来源于 Android 开发者中心,持续更新。
Android版本 | API 级别 | VERSION_CODE |
---|---|---|
14 | 34 | UPSIDE_DOWN_CAKE |
13 | 33 | TIRAMISU |
12 | 32 | S_V2 |
12 | 31 | S |
11 | 30 | R |
10 | 29 | Q |
9 | 28 | P |
8.1 | 27 | O_MR1 |
8.0 | 26 | O |
7.1.1 / 7.1 | 25 | N_MR1 |
7.0 | 24 | N |
6.0 | 23 | M |
5.1 | 22 | LOLLIPOP_MR1 |
5.0 | 21 | LOLLIPOP |
4.4W | 20 | KITKAT_WATCH |
4.4 | 19 | KITKAT |
4.3 | 18 | JELLY_BEAN_MR2 |
4.2.2 / 4.2 | 17 | JELLY_BEAN_MR1 |
4.1.1 / 4.1 | 16 | JELLY_BEAN |
4.0.4 / 4.0.3 | 15 | ICE_CREAM_SANDWICH_MR1 |
4.0.2 / 4.0.1/4.0 | 14 | ICE_CREAM_SANDWICH |
3.2 | 13 | HONEYCOMB_MR2 |
3.1.x | 12 | HONEYCOMB_MR1 |
3.0.x | 11 | HONEYCOMB |
2.3.4 / 2.3.3 | 10 | GINGERBREAD_MR1 |
2.3.2 / 2.3.1/2.3 | 9 | GINGERBREAD |
2.2.x | 8 | FROYO |
2.1.x | 7 | ECLAIR_MR1 |
2.0.1 | 6 | ECLAIR_0_1 |
2.0 | 5 | ECLAIR |
1.6 | 4 | DONUT |
1.5 | 3 | CUPCAKE |
1.1 | 2 | BASE_1_1 |
1.0 | 1 | BASE |