Android API settings

Discussion and feedback on Construct 2

Post » Fri Feb 12, 2016 11:34 pm

Hi mobile Devs,

I am in the alpha testing with my app now, but even now I would like to set up the minimum Android API to 19 so the minimum required Android version be 4.4 KitKat.

1. I set it up in C2 while exporting to Cordova (I don't think this one does matter but anyway).

2. I set up min api to 19 in Intel XDK settings (and 21 as target api)

On my app page on Google Play it says the requirements are 4.0+ (!?).

I've checked Intel XDK config files manually, and in one config file (can't remember which now) the minimum api was set to 14 (which is Android 4.0). The rest of files were set to 19 (there are 3 config files regarding crosswalk I think).

I've edited the file and set it manually to 19. Built, sent to Google Play. And it is still required 4.0.

Anyone else compiled mobile app with IntelXDK recently? Is it my problem only or something is wrong somewhere? I can't find anything regarding this issue on Google :/

ps. I have the newest IntelXDK and C2.
ImageImageImage
B
28
S
16
G
82
Posts: 1,031
Reputation: 45,806

Post » Sun Feb 14, 2016 11:05 am

I am surprised noone else is experiencing this issue. I believe noone have their app in alpha/beta testing atm.

As I don't think this is a C2 issue but IntelXDK's (or Google's?) I have posted that on IntelXDK forum as well https://software.intel.com/en-us/forums ... pic/610062

@imaffett could you say if it's a known or unknown issue?

I've googled that simillar issue was a Google issue last year. When app was in alpha/beta stage, Google was showing minimum required Android version as 1.6 instead of any other which was set in manifest file. But in my case it's showing 4.0, not 1.6 so or it's a different issue or it's a new face of an old issue. However I am not able (am I?) to check what is being send to Google Play after IntelXDK wrap C2 and IntelXDK config files to an APK.

As I'm not an expert in IntelXDK config files, I'll show what's inside of mines.

config.xml
Image

intelxdk.config.crosswalk.xml
Image

intelxdk.config.crosswalk.app.xml
Image

Is there any other place I should check as well?


And here is what Google says about the app requirements.
Image

It is a critical issue for me. Any help is much appreciated!
ImageImageImage
B
28
S
16
G
82
Posts: 1,031
Reputation: 45,806

Post » Mon Feb 15, 2016 7:16 am

I have decompiled an APK file to check what's in the config.xml which has been compiled to the APK and it looks allright "<preference name="android-minSdkVersion" value="19" />". So it clearly a Google bug I believe.
ImageImageImage
B
28
S
16
G
82
Posts: 1,031
Reputation: 45,806

Post » Thu Feb 18, 2016 11:48 am

Ok. I've found the cause. It's not Google, it's Intel bug. https://software.intel.com/en-us/forums ... nt-1860865
ImageImageImage
B
28
S
16
G
82
Posts: 1,031
Reputation: 45,806

Post » Fri Mar 11, 2016 8:00 pm

Intel just fixed this issue. minSdkVersion is now honored.
ImageImageImage
B
28
S
16
G
82
Posts: 1,031
Reputation: 45,806


Return to Construct 2 General

Who is online

Users browsing this forum: signupdemo and 8 guests