Highlighted

AIR Android ignores minSdkVersion?

Explorer ,
Jun 08, 2015

Copy link to clipboard

Copied

Hi,

I added android:minSdkVersion="14 to the manifest of my AIR built Android app to only allow Android 4+ devices but Google Play shows that my app only Requires Android 1.6 and up.

This is my manifest - what do I need to change to make ANdroid  4+ only?

<android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>]]></manifestAdditions> </android>

I used Adobe AIR SDK 17 and packaged the app through ADT command line.

Many thanks!

TOPICS
Development

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AIR Android ignores minSdkVersion?

Explorer ,
Jun 08, 2015

Copy link to clipboard

Copied

Hi,

I added android:minSdkVersion="14 to the manifest of my AIR built Android app to only allow Android 4+ devices but Google Play shows that my app only Requires Android 1.6 and up.

This is my manifest - what do I need to change to make ANdroid  4+ only?

<android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>]]></manifestAdditions> </android>

I used Adobe AIR SDK 17 and packaged the app through ADT command line.

Many thanks!

TOPICS
Development

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 08, 2015 0
Adobe Employee ,
Jun 09, 2015

Copy link to clipboard

Copied

Hi,

We have checked this issue at our end by creating one AIR built Android App with android:minSdkVersion="14" and android:targetSdkVersion="21".  We published the app on Google Playstore and verified that in the requirements it shows Android: 4.0 and above. This behaviour is expected.

Could you please verify the contents (android:minSdkVersion) of AndroidManifest.xml. AndroidManifest.xml should contains the same value of android:minSdkVersion that you have mentioned in your project.


Thanks,

Adobe Air Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 09, 2015 1
Explorer ,
Jun 09, 2015

Copy link to clipboard

Copied

Thanks for testing! It's really appreciated!

EDIT: It's a bug on Google's side and it affects all ALPHA and BETA APKs! More info: android - Google Play - wrong minimum API detected - Stack Overflow

--

Did you publish the app to Google Play or did you check the details of the uploaded APK in the developer console?

The problem is that Google Play shows "Requires Android 1.6 and up" in the Play store even if the API level in the "Google Play developer console" shows the correct 14+ one.

Is it possible to verifiy that only Android 4+ devices can download an app? I need a proof.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 09, 2015 0
Adobe Employee ,
Jun 10, 2015

Copy link to clipboard

Copied

Hi,

Yes, We have published the app on Google Playstore. We have checked the details of uploaded APK file.

In the Google PlayStore, it shows "Requires Android 4.0 and up"

In the Google Play Developer console, it shows the API Level 14+. This behaviour is expected.


We have also verified that only Android 4+ devices are able to install the app from Playstore. For Lower version devices(Below 4.0), App is not visible on PlayStore.



Thanks,

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 10, 2015 1
eazyigz LATEST
Community Beginner ,
Aug 09, 2016

Copy link to clipboard

Copied

Is there any way to use android:name="android.support.multidex.MultiDexApplication" in manifestAdditions?  I need to enable multidexing for my app.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 09, 2016 0