Philipp Lenssen
Philipp Lenssen

Reputation: 9218

Releasing app for Android v4.4.3+ only?

We have an Android project. Using the minSdkVersion set to API level 19 it's possible to release an app requiring Android 4.4 KitKat.

However, how would one release an app for at least 4.4.3 only? (We have a game which stands and falls with having Canvas hardware acceleration in web view, which was introduced in 4.4.3 only.) Thanks!

Upvotes: 4

Views: 151

Answers (2)

Philipp Lenssen
Philipp Lenssen

Reputation: 9218

It is now possible to target just Android 5, by using the newly added API level 21. While this doesn't answer how to target 4.4.3+ specifically, it will guarantee that the mentioned Canvas hardware acceleration is available on the target device.

Upvotes: 1

HHK
HHK

Reputation: 5330

Unfortunately you can not restrict APK distribution to minor versions in the Google Play Store. The only thing you can do is to require API level 19 using minSdkVersion and then do a runtime check against android.os.Build.VERSION.RELEASE in your app, refusing to run if it is below 4.4.3.

Upvotes: 3

Related Questions