Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Permitted version strings for Android 4.2
Stay organized with collections Save and categorize content based on your preferences.
As described in Section 3.2.2 of the Android 4.2 Compatibility Definition, only certain strings are allowable for the system property android.os.Build.VERSION.RELEASE
. The reason for this is that applications and web sites may rely on predictable values for this string, and so that end users can easily and reliably identify the version of Android running on their devices.
Because subsequent releases of the Android software may revise this string, but not change any API behavior, such releases may not be accompanied by a new Compatibility Definition Document. This page lists the versions that are allowable by an Android 4.2-based system. The only permitted values for android.os.Build.VERSION.RELEASE
for Android 4.2 are:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-16 UTC."],[],[]]