As described in Section 3.2.2 of the Android 2.1 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 2.1-based system. The only permitted values for
android.os.Build.VERSION.RELEASE
for Android 2.1 are:
-
2.1
-
2.1-update1