For details on the CLI, see Cordova CLI Recommendation. Cordova for Android needs the Android SDK which can be set up on OS X, Linux or Windows. See the Android SDK's System Requirements. Read This supports as much as Android API Level 29. The supported Android API Levels and Android Versions for the past couple of cordova-android releases can be discovered in this table: cordova-android Variation Supported Android API-Levels Equivalent Android Variation 9.
1 - 10. 0.0 8. X.X 19 - 28 4. 4 - 9. 0.0 7. X.X 19 - 27 4. 4 - 8. 1 6. X.X 16 - 26 4. 1 - 8. 0.0 5. X.X 14 - 23 4. 0 - 6. 0.1 4. 1.X 14 - 22 4.
1 4. 0.X 10 - 22 2. 3.3 - 5. 1 3. 7.X 10 - 21 2. 3.3 - 5. 0.2 Please note that the variations listed here are for Cordova's Android plan, cordova-android, and not for the Cordova CLI. To determine what variation of Cordova's Android package is installed in your Cordova job, run the command cordova platform ls in the directory that holds your project.
Install Java Development Set (JDK) 8. When installing on Windows you also require to set JAVA_HOME Environment Variable according to your JDK installation path (see Setting Environment Variables) Since Cordova-Android 6. 4.0, Gradle is now needed to be installed to develop Android. When setting up on Windows, you need to include Gradle to your path, (see Setting Environment Variables) Install Android Studio.
Opening Android Studio for the very first time will direct you through the process of setting up the Android SDK. After setting up the Android SDK, you need to likewise set up the packages for whatever API level you wish to target. It is suggested that you install the highest SDK version that your version of cordova-android supports (see Requirements and Support).
0.2 or higher In Android Studio 3. 6 or later on, you need to manually add the old version of the Android SDK Tools. To do this: Open the Android Studio In the Android tab, uncheck Hide Obsolete Plans Examine Android SDK Tools (Outdated) See Android's documents on Installing SDK Packages for more details.