INSTALLING CORDOVA 2018 TO DEVELOP ANDROID APP PROJECTS

INSTALLING CORDOVA 2018 TO DEVELOP ANDROID APP PROJECTS

1.DOWNLOAD ANDROID SDK.
2DOWNLOAD ADB DRIVER 1.4.2
3. DOWNLOAD JAVA JDK(make sure its jdk check oracle website)
4. DOWNLOAD NPM
5. INSTALL ALL THE DOWNLOADED APPS ABOVE
6. MAKE SURE ANDROID SDK IS INSTALLED IN THE ROOT FOLDER OF LOCAL DISK C
7.OPEN NPM COMMAND PROMT AND TYPE THE FOLLOWING COMMAND
8 . run npm install -g cordova
9. AFTER SUCCESSFUL INSTALLATION OF CORDOVA
10. SEARCH FOR ENVIRONMENT VARIABLES FROM YOUR WINDOWS SEARCH BAR AND CLICK EDIT SYSTEM ENVIRONMENT VARIABLES
11. CLICK ON ENVIRONMENT VARIABLES
12. UNDER USER ENVIRONMENT VARIABLE YOU ARE TO ADD THE FOLLOWING:
CLICK ON NEW
variable name: ANDROID_HOME
variable value: c:\location of your android sdk  e.g (c:\android_sdk).

variable name : JAVA_HOME
variable value : C:\Program Files\Java\version of java jdk installed  (you can check yours manually by following the path)

variable name: GRADLE_HOME
variable value : C:\gradle\lib

variable name: PATH
variable value:  C:\Users\MR WACCAFF\AppData\Roaming\npm;C:\android-sdk\tools;C:\android-sdk\platform-tools;C:\Program Files\Java\jdk1.8.0_101;C:\gradle\bin

FOR PEOPLE HAVING TROUBLE INSTALLING JAVA JDK  ADD THIS UNDER system variables
variable name : _JAVA_OPTIONS
variable value :  -Xmx1024M


13. ENTER ANDROID SDK FOLDER IN C:\ AND COPY PLATFORM TOOLS
14. PASTE THE PLATFORM TOOLS IN C:\adb folder.
15 TRY RUNNING A CORDOVA PROJECT .
16. YOU HAVE SUCCESSFULLY SET UP YOUR SYSTEM ENVIRONMENT FOR DEVELOPING ANDROID APPLICATION.

DROP COMMENTS ON AREAS THAT REQUIRE CLARIFICATION

FOLLOW US ON FACEBOOK

Comments