top of page
  • Writer's pictureHabsbhj Knabna

How to Check API Level of Your Android Device

When you compile your app using the Target Framework setting, you choose an API level. This is the version of the Android platform your application will be compiled against, and it determines which library APIs your code can use.

The latest version of Android is check API level 30, and previous versions are up through Android 11 (Lollipop). You can check the API level of your device by going to Settings > System > About Phone and looking at the number associated with your version of Android (e.g., 11).



Each release of the Android platform can include updates to the application framework API. These changes can include new features as well as older replaced API parts, and they must be compatible with the existing API parts for apps to continue to work. The Android system uses the API Level to negotiate the installation of applications on users’ devices, ensuring that apps with incompatible APIs are not installed.


An application can declare the minimum system API level it supports in its manifest file by including a uses-sdk> attribute with a value of android:minSdkVersion. The value of this attribute must be an integer greater than or equal to the system’s API Level integer, and the system will refuse to install the application if it is less than that. The system also supports a maximum API Level that an application is allowed to run on, and this can be declared in the same way with the android:maxSdkVersion attribute. Read the uses-sdk> documentation for more information about how the system handles these attributes.


SITES WE SUPPORT



SOCIAL LINKS


Comments


bottom of page