'cordova add platform android' with specific version
android, cordova
Solution
Try to check here what is the list of Android Platforms => Cordova Android Platforms
and try to use:
cordova platform add android@x.x.x
replacing x.x.x with the version that you need
A list of released version can be found on github.
Problem
I want add android platform on cordova using specific version: android-10. I use 'gulp' with 'gulp-shell' to create cordova env, so it must be repeatable in command line for CI and CD. Today when I run: ``` $ cordova platforms add android ``` It create in `platforms/android/AndroidManifest.xml` file : ``` android:minSdkVersion="10" android:targetSdkVersion="19" ``` I want `android:minSdkVersion="14" android:targetSdkVersion="19"`