【背景】
之前折腾android期间,慢慢地知道了,Android的版本,有个API Level,其实就是对应着某个Android发布版本的名称。
现在去总结一下。
【折腾过程】
1.参考了:
Supporting Different Platform Versions
Codenames, Tags, and Build Numbers
总结如下:
Android版本名和API Level关系全称 | Android的版本 | Android版本名称Code name | Android的API level |
Android 1.0 (API level 1) | 1.0 | (no code name) | API level 1 |
Android 1.1 (API level 2) | 1.1 | (no code name) | API level 2 |
Android 1.5 Cupcake (API level 3) | 1.5 | Cupcake | API level 3, NDK 1 |
Android 1.6 Donut (API level 4) | 1.6 | Donut | API level 4, NDK 2 |
Android 2.0 Eclair (API level 5) | 2.0 | Eclair | API level 5 |
Android 2.0.1 Eclair (API level 6) | 2.0.1 | Eclair | API level 6 |
Android 2.1 Eclair (API level 7) | 2.1 | Eclair | API level 7, NDK 3 |
Android 2.2–2.2.3 Froyo (API level 8) | 2.2.x | Froyo | API level 8, NDK 4 |
Android 2.3–2.3.2 Gingerbread (API level 9) | 2.3 – 2.3.2 | Gingerbread | API level 9, NDK 5 |
Android 2.3.3–2.3.7 Gingerbread (API level 10) | 2.3.3 – 2.3.7 | Gingerbread | API level 10 |
Android 3.0 Honeycomb (API level 11) | 3.0 | Honeycomb | API level 11 |
Android 3.1 Honeycomb (API level 12) | 3.1 | Honeycomb | API level 12, NDK 6 |
Android 3.2 Honeycomb (API level 13) | 3.2.x | Honeycomb | API level 13 |
Android 4.0–4.0.2 Ice Cream Sandwich (API level 14) | 4.0.1 – 4.0.2 | Ice Cream Sandwich | API level 14, NDK 7 |
Android 4.0.3–4.0.4 Ice Cream Sandwich (API level 15) | 4.0.3 – 4.0.4 | Ice Cream Sandwich | API level 15, NDK 8 |
Android 4.1 Jelly Bean (API level 16) | 4.1.x | Jelly Bean | API level 16 |
Android 4.2 Jelly Bean (API level 17) | 4.2.x | Jelly Bean | API level 17 |
Android 4.3 Jelly Bean (API level 18) | 4.3.x | Jelly Bean | API level 18 |
Android 4.4 KitKat (API level 19) | 4.4 | KitKat | API level 19 |
对于各个名称对应的图片,单独整理出来,供参考:
举例说明:
Android开发期间,配置文件中的target或minimal的API level,如果是17,则对应的是4.2.x的Jelly Bean。
转载请注明:在路上 » 【整理】Android的API版本和名称对应关系