Android platform code, version, and API level

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.