Skip to main content
Known Participant
March 10, 2015
Question

AIR Android - Limit devices?

  • March 10, 2015
  • 1 reply
  • 340 views

Hi,

How to make an AIR Android app downloadable for Android 4+ devices only?

I would like to exclude all devices that are running Android 3 and below.

Thank you

This topic has been closed for replies.

1 reply

jadams602
Inspiring
March 10, 2015

In the Android section of the app xml you can use the line

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />

<android>

        <manifestAdditions><![CDATA[

            <manifest android:installLocation="auto">

                <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />

               ....

The values for minSdkVersion tied to Android releases can be found at:

<uses-sdk> | Android Developers

within the uses-sdk documentation