Skip to main content
natural_criticB837
Legend
juil. 18, 2016 12:35 PM UTC
Répondu

Android: Maintain 2 builds with Air 19 and Air 22

Hello everyone,

I want to update our games with an Air 22 version so that all users will be able to play with Android N installed. At the same time, we would like to continue supporting Android 2.x with Air 19.

What I did was I created a version of our app with version code x.x.20 with Air 22 and a version x.x.10 with Air 19. My expectation was that Google would send all users with Android 4 and higher the Air 22 version and all users with Android 2.x the Air 19 version. However when I upload the x.x.10 version to Google Play I receive the error message: All configurations that could receive x.x.10 would receive x.x.20 instead. Meaning Google Play does not identify the Air 22 build as incompatible to Android 2.x, is that correct?

What has to be done in order to support both builds?

Thank you in advance.

Ce sujet a été fermé aux réponses.
mar_piesRéponse
Inspiring
juil. 18, 2016 1:12 PM UTC

rewb0rn wrote:

I should set minSdkVersion to 14 for Android 4 and above, correct?

Yes, that should make the build available only for devices running Android 4+.

rewb0rn wrote:

But more importantly, how can I find out which targetSdkVersion is supported by the current Air SDK?

I'm not sure if this is documented somewhere, however, I remember seeing AIR devs having trouble when explicitly setting the value of targetSdkVersion to 23. They ended up setting the value to 19. See this link for more information. I don't know if this is fixed in AIR SDK 22. You shouldn't need to set it to 23 though in order for it to work on Android 6+.

4 commentaires

Inspiring
juil. 18, 2016 12:54 PM UTC

Hi,

Have you tried setting minSdkVersion for your AIR 22 build?

Traduire
natural_criticB837
Legend
juil. 18, 2016 12:59 PM UTC

No, I think this might be the issue. I researched and it looks like I should set minSdkVersion to 14 for Android 4 and above, correct? But more importantly, how can I find out which targetSdkVersion is supported by the current Air SDK?

Thanks!

Traduire
mar_piesRéponse
Inspiring
juil. 18, 2016 1:12 PM UTC

rewb0rn wrote:

I should set minSdkVersion to 14 for Android 4 and above, correct?

Yes, that should make the build available only for devices running Android 4+.

rewb0rn wrote:

But more importantly, how can I find out which targetSdkVersion is supported by the current Air SDK?

I'm not sure if this is documented somewhere, however, I remember seeing AIR devs having trouble when explicitly setting the value of targetSdkVersion to 23. They ended up setting the value to 19. See this link for more information. I don't know if this is fixed in AIR SDK 22. You shouldn't need to set it to 23 though in order for it to work on Android 6+.

Traduire