Reputation: 1296
I want to create the android app for the min-sdk version 19. I have also configured the config.xml like this:
<preference name="android-minSdkVersion" value="16" />
<preference name="android-targetSdkVersion" value="19" />
<preference name="android-maxSdkVersion" value="19" />
then installed the apk on the android 4.4.4, it works fine but the app stops while opening the google map. Anyone if know how to generate the Apk for Api level 19 please help..
Upvotes: 1
Views: 1215
Reputation: 288
To better optimize your app for devices running Android 4.4, you should set your targetSdkVersion to "19", install it on an Android 4.4 system image, test it, then publish an update with this change.
You can use APIs in Android 4.4 while also supporting older versions by adding conditions to your code that check for the system API level before executing APIs not supported by your minSdkVersion.
For More Details, goto https://developer.android.com/about/versions/android-4.4.html
I Hope this was helpful.
Upvotes: 1