最新Android API Level一览

来源:互联网 发布:证券从业资格证知乎 编辑:程序博客网 时间:2024/06/03 19:07

What is API Level?


API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform.

The Android platform provides a framework API that applications can use to interact with the underlying Android system. The framework API consists of:

  • A core set of packages and classes
  • A set of XML elements and attributes for declaring a manifest file
  • A set of XML elements and attributes for declaring and accessing resources
  • A set of Intents
  • A set of permissions that applications can request, as well as permission enforcements included in the system

Each successive version of the Android platform can include updates to the Android application framework API that it delivers.

Updates to the framework API are designed so that the new API remains compatible with earlier versions of the API. That is, most changes in the API are additive and introduce new or replacement functionality. As parts of the API are upgraded, the older replaced parts are deprecated but are not removed, so that existing applications can still use them. In a very small number of cases, parts of the API may be modified or removed, although typically such changes are only needed to ensure API robustness and application or system security. All other API parts from earlier revisions are carried forward without modification.

The framework API that an Android platform delivers is specified using an integer identifier called "API Level". Each Android platform version supports exactly one API Level, although support is implicit for all earlier API Levels (down to API Level 1). The initial release of the Android platform provided API Level 1 and subsequent releases have incremented the API Level.

The table below specifies the API Level supported by each version of the Android platform. For information about the relative numbers of devices that are running each version, see the Platform Versions dashboards page.

Platform VersionAPI LevelVERSION_CODENotesAndroid 7.1.1
Android 7.125N_MR1Platform HighlightsAndroid 7.024NPlatform HighlightsAndroid 6.023MPlatform HighlightsAndroid 5.122LOLLIPOP_MR1Platform HighlightsAndroid 5.021LOLLIPOPAndroid 4.4W20KITKAT_WATCHKitKat for Wearables OnlyAndroid 4.419KITKATPlatform HighlightsAndroid 4.318JELLY_BEAN_MR2Platform HighlightsAndroid 4.2, 4.2.217JELLY_BEAN_MR1Platform HighlightsAndroid 4.1, 4.1.116JELLY_BEANPlatform HighlightsAndroid 4.0.3, 4.0.415ICE_CREAM_SANDWICH_MR1Platform HighlightsAndroid 4.0, 4.0.1, 4.0.214ICE_CREAM_SANDWICHAndroid 3.213HONEYCOMB_MR2 Android 3.1.x12HONEYCOMB_MR1Platform HighlightsAndroid 3.0.x11HONEYCOMBPlatform HighlightsAndroid 2.3.4
Android 2.3.310GINGERBREAD_MR1Platform HighlightsAndroid 2.3.2
Android 2.3.1
Android 2.39GINGERBREADAndroid 2.2.x8FROYOPlatform HighlightsAndroid 2.1.x7ECLAIR_MR1Platform HighlightsAndroid 2.0.16ECLAIR_0_1Android 2.05ECLAIRAndroid 1.64DONUTPlatform HighlightsAndroid 1.53CUPCAKEPlatform HighlightsAndroid 1.12BASE_1_1 Android 1.01BASE原文地址:https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels

0 0
原创粉丝点击