My application is compatible in 2.3.3, how to make it compatible

I am developing an application compatible with versions 2.3.3 and higher

<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" android:maxSdkVersion="17"/> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" /> <compatible-screens> <screen android:screenDensity="mdpi" android:screenSize="normal" /> <screen android:screenDensity="hdpi" android:screenSize="large" /> <screen android:screenDensity="xhdpi" android:screenSize="xlarge" /> </compatible-screens> 

and during my development time he worked on my 2.3.6 Samsung galactic device.

However, after placing my application in the Play store, it shows that it is incompatible with my device. Why is this?

+4
source share
1 answer

From the documentation here :

Android: targetSdkVersion

An integer indicating the level of the API, the purpose of the application. If not set, the default value is the same as set to minSdkVersion. This attribute tells the system that you have tested against the target version, and the system should not be compatible to support application compatibility with the target version. The application can still work on the version (up to minSdkVersion).

As Android evolves with each new version, some behaviors and even appearances may change. However, if the API level on the platform is higher than the version specified by your targetSdkVersion application, the system may enable compatibility behavior to ensure that your application continues to work as you expect. You can disable such compatibility by specifying targetSdkVersion according to the API of the platform level on which it runs. For example, setting this value to "11" or higher allows the system to apply the new standard (Holo) for your application when running on Android 3.0 or higher and also disables screen compatibility mode when working on large screens (since support for API level 11 implicitly supports larger screens).

There are many compatibility methods that the system can enable based on the value set for this attribute. Some of these behaviors are described by the corresponding platform versions in the .VERSION_CODES construct reference.

To support the application along with each release of Android, you must increase the value of this attribute in accordance with the latest API level, then carefully test your application on the appropriate platform version. Presented in: API Level 4

Try increasing the targetSDK attribute to "17".

+1
source

Source: https://habr.com/ru/post/1495871/


All Articles