-



---------------------------------------------------------------------
:
:
cordova -v
:
:
npm install -g [email protected]
---------------------------------------------------------------------
4 :

:
project.properties platforms\android
:
target=android-17
:

:
cordova run android -- --gradleArg=-PcdvMinSdkVersion=17
  1. By setting environment variables like so:
    $ export ORG_GRADLE_PROJECT_cdvMinSdkVersion=20
    $ cordova build android
  2. By using the --gradleArg flag in your Cordova build or run commands:
    $ cordova run android -- --gradleArg=-PcdvMinSdkVersion=20
  3. By placing a file called gradle.properties in your Android platform folder (<your-project>/platforms/android) and setting the properties in it like so:

    # In <your-project>/platforms/android/gradle.properties
    cdvMinSdkVersion=20
  4. By extending build.gradle via a build-extras.gradle file and setting the property like so:
    // In <your-project>/platforms/android/build-extras.gradle
    ext.cdvMinSdkVersion = 20

:
https://cordova.apache.org/docs/en/l...forms/android/