Android v4.4.3 + app release only?

We have an Android project. Using minSdkVersion installed at API level 19, you can release an application that requires Android 4.4 KitKat.

However, as it would be possible to release the application no less than 4.4. 3 ? (We have a game that stands and crashes, having Canvas hardware acceleration in the web view, which was introduced only in 4.4.3.) Thank you!

+4
source share
2 answers

Unfortunately, you cannot restrict the distribution of APKs to minor versions on the Google Play Store. The only thing you can do is to use API level 19 with minSdkVersion, and then perform a run check from android.os.Build.VERSION.RELEASEyour application, refusing to run if it is below 4.4.3.

+3
source

Now you can target only on Android 5 using the recently added API 21 level. Although this does not answer how to target 4.4.3+, this ensures that the specified Canvas hardware acceleration is available on the target device.

+1
source

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


All Articles