Level of the platform on which it's running.įor example, setting this value to "11" or higher You can disable such compatibilityīehaviors by specifying targetSdkVersion to match the API However, if the API level of the platform is higher than the version declared by your app's targetSdkVersion, the system can enable compatibility behaviors so that your appĬontinues to work the way you expect. The application is still able to run on older versions (down to minSdkVersion).Īs Android evolves with each new version, some behaviors and even appearances might change. System doesn't enable any compatibility behaviors to maintain your app's forward-compatibility This attribute informs the system that you have tested against the target version, and the Value equals that given to minSdkVersion. android:targetSdkVersion An integer designating the API level that the application targets. This reason, be certain to declare the appropriate API level in the Then when installed on a system with an incompatible API level, the applicationĬrashes during runtime when attempting to access the unavailable APIs. Isn't, and you didn't declare the proper minSdkVersion, Always declare this attribute.Īttribute, the system assumes a default value of "1", which indicates that yourĪpplication is compatible with all versions of Android. The application if the system's API level is lower than the value specified in The Android system prevents the user from installing Major version or the sum of the major and minor versions.Īttributes: android:minSdkVersion An integer designating the minimum API level requiredįor the application to run. The API level is always a single integer. The version number of the software development kit (SDK) or Android platform. The API level expressed by an application is compared to theĪPI level of a given Android system, which can vary among different Android devices.ĭespite its name, this element is used to specify the API level, not Lets you express an application's compatibility with one or more versions of the Android platformīy means of an API level integer. Before setting theseĪttributes, make sure that you understand That don't meet its platform version requirements. Attributes declared in your app manifest to filter your app from devices
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |