Cordova for hybrid mobile application provides a platform, can make an application in different platforms, such as Android, IOS, Ubuntu, firefox OS, etc.

Environment configuration

The environment configuration requirements in this document are all required for developing Android Apk software using Cordova in Windows.

The name of the Whether must Download address describe
node.js is node.js Install the Cordova module using Nodejs NPM tool. The Cordova module is automatically downloaded by the NPM tool.
git client no git client Download resources from the Git repository
Java JDK is Java JDK15
Android SDK is Android SDK
Gradle is Gradle Build tools
## node.js
  1. Download and install

Java JDK

  1. Start setup
  2. Record the JDK installation location (C: Program Files\Java\jdk1.8.0_161\)

3. Configure environment variables (window+R), enter sysdm. CPL, and press Enter4. Select Advanced – > environment variables5. Set the JAVA_HOME environment variable to the path in Step 2 6. Set the value of the system scalar path and added the Java related path configuration (%JAVA_HOME%\jre\bin) (%JAVA_HOME%\bin). 7. Check whether the Java JDK is installed successfully. Shortcut key Window +R Enter CMD and javac, as shown in the following figure, the configuration is complete

Android SDK

  1. For dumb-ass installation, record the installation path (C:\Users\Isolated\AppData\Local\Android\ Android-sdk) and start the software

2. Install the API using the default content3. Set the environment variable ANDROID_HOME to the path in step 1 4. Set system scalar path value, add Java related path configuration (%ANDROID_HOME%\platform-tools) (%ANDROID_HOME%\tools) 5. Verify whether the Android SDK is installed successfully. Shortcut key Window +R and enter CMD and adb – Enter, as shown in the picture below, the configuration is complete

Gradle

  1. Download Gradle and unzip it to the directory you want to save.
  2. Configure the GRADLE_HOME environment variable with the value as the path in step 1

3. Add %GRADLE_HOME%/bin to the PATH 4. Verify whether Gradle is installed successfully. Press Window +R, enter CMD, and gradle -v, as shown in the following figure

Documents related to Cordova

Cordova Environment Configuration (Android)

Cordova project package development

Cordova failed to download the update on android8.0 or higher

Cordova AJAX failure Status :0

Differences between JKS and keystore

Hot updates and manual updates for Cordova

cordova-plugin-statusbar

cordova-plugin-file-opener2