Software Archive
Read-only legacy content
17061 Discussions

Android version

Vernek_L_
Beginner
620 Views

Hello everyone, how my application can be compatible with Android 2.x or recent version??

Currently, my app is compatible only for Android 4x.

In my log build contais:

Project Target:   Android 4.4 heard of something like

I heard of something like "minSdkVersion" and targetSdkVersion.

 

Who can help me?

Thanks!

0 Kudos
3 Replies
Jure_C_
Beginner
620 Views

Under your Project tab select your project, then open Build Settings and there you have minimum Android version and Target version. So if you want to have your device compatible with 2.x, set minumum version to that..

Here you have list of android versions: https://en.wikipedia.org/wiki/Android_version_history.

Regards

Jure

0 Kudos
Vernek_L_
Beginner
620 Views

Thanks for help me, but I have one more question.
I changed the values in build options of my project....

In build log appears message:

Updated "minSdkVersion" with "8"
Updated "targetSdkVersion" with "10"


But in log of the Android build, appears this message:

Processing preference android-minSdkVersion [8]
Processing preference android-targetSdkVersion [10]

-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
[echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target:   Android 4.4
[gettarget] API level:        19



PROJECT TARGET, that means is only compatible with this version??

Thanks.

0 Kudos
PaulF_IntelCorp
Employee
620 Views

Using the "Cordova for Android" build option (regular Android) the minimum Android version you can specify is 10, the Cordova build system does not support API levels less than 10.

Using the Android Crosswalk build option your minimum supported Android version is 14.

Level 10 supports Android 2.3 and above.

The target level is best set to 19, it is a suggestion, not a minimum or maximum, and that is the level that works best with our current build system. There is no way to specify a maximum API or Android version level. The Android system does not accommodate setting a maximum, this is a limitation of Android, not the XDK.

0 Kudos
Reply