Cordova Full Course- The Complete Step by Step Guide to creaste Android app.
-
-
Save rupeshtiwari/a4b78077a6bfb6db88bcb09c469372db to your computer and use it in GitHub Desktop.
- Install Node.js ( get the download file from http://nodejs.org)
- Confirm Node.js is installed by running
node --version
- Install Git ( get the download file from http://git-scm.com. )
- Install Cordova Npm Package run the script
npm i -g cordova
( Make sure you open cmd / powershell on administrator mode ) - Confirm Cordova is installed by running
cordova --version
You need to install Java Development Kit (JDK) If you already have installed it then check it by running below script in cmd or powershell:
javac -version
If JDK is not installed you will see below error:
C:\Windows\system32>javac -version
'javac' is not recognized as an internal or external command,
operable program or batch file.
In order for installing JDK Download Page (https://www.oracle.com/technetwork/java/javase/downloads/index.html)
-
Download the JDK EXE and install it on your local machine.
-
Once JDK is installed then go to the windows environment variables
-
Add the jdk bin folder path (
C:\Program Files\Java\jdk-12.0.1\bin)
in both user and system path in Windows Environment Variables. -
Add new entry called as JAVA_HOME with Value being the installed location of the JDK for me it is
C:\Program Files\Java\jdk-12.0.1
-
Confirm JDK Installation Run below script to check JDK Installed:
-
Please use your own folder path while updating environment variables.
-
Go to Android Studio Download Page and download android studio exe file.
-
Update Window Environment Variables by adding sdk tools & platform-tools folder path that is below 2 Entries in User Variables
-
Add ANDROID_HOME variable to both in User & System Environment Variables like we already added JAVA_HOME pointing to SDK folder:
C:\Users\rtiwari\AppData\Local\Android\Sdk
-
Confirm Android Studio is installed by running below script
Is there a second part to this? It stops after adding the browser platform.