How do you build and deploy to an older version of android for Phone Gap / cordova
,
5 6 4 .
api ,
platform/android/AndroidManifest.xml .
sdk buildversion AndroidManifest.xml
:
:
<preference name="android-minSdkVersion" value="XX"> // value is the API LEVEL
<preference name="android-targetSdkVersion" value="XX">
*targetSdk = tell phonegap which android build version to use,
*MinSdk is to limit user who want to download it.
api
check the API LEVEL of android build
here.
: :
:
<preference name="android-minSdkVersion" value="8"> //android 2.2
<preference name="android-targetSdkVersion" value="17"> //android 4.2
config.xml
:
<preference name="android-minSdkVersion" value="14"/>
:
https://stackoverflow.com/questions/...-ionic-cordova