1. How to view the version number of the Code project
Android version:
View the android/build/CORE/version_defaults.mk file, including the Android version and
SDK version.
The terminal prints the version information at the beginning of compilation, for example, platform_version: 2.3.1.
Linux version:
The MAKEFILE file in the directory where the kernel is located starts with the following definition:
Version = 3
Patchlevel = 0
Sublevel = 13
Extraversion =
Name = sneaky Weasel
That is, the kernel version is 3.0.13.
2. Different Android versions have different codes and API levels. The following lists the platform codes,
Ing between version and API level:
Code name |
Version |
API level |
(No code name) |
1.0 |
API Level 1 |
(No code name) |
1.1 |
API Level 2 |
Cupcake |
1.5 |
API Level 3, ndk 1 |
Donut |
1.6 |
API level 4, ndk 2 |
Eclair |
2.0 |
API Level 5 |
Eclair |
2.0.1 |
API level 6 |
Eclair |
2.1 |
API level 7, ndk 3 |
Froyo |
2.2.x |
API Level 8, ndk 4 |
Gingerbread |
2.3-2.3.2 |
API level 9, ndk 5 |
Gingerbread |
2.3.3-2.3.7 |
API level 10 |
Honeycomb |
3.0 |
API level 11 |
Honeycomb |
3.1 |
API Level 12, ndk 6 |
Honeycomb |
3.2.x |
API Level 13 |
Ice cream sandwich |
4.0.1-4.0.2 |
API Level 14, ndk 7 |
Ice cream sandwich |
4.0.3-4.0.4 |
API level 15, ndk 8 |
Jelly Bean |
4.1.x |
API level 16 |
Jelly Bean |
4.2.x |
API Level 17 |