Install Java
Installation, Java & updating Environment & System Variables on Windows 7, 8 & 10
Install Apache Ant
Download latest Apache Ant it is require by Android and Cordova to build the applications
Download and extract file in your system and update the path in PATH variable as given in the screen
Add
ANT_HOME: C:apache-ant-1.9.4-binapache-ant-1.9.4
PATH: E:PhoneGapapache-ant-1.9.4-binapache-ant-1.9.4bin;
Please refer screens
Install Node.js
Download Install latest version of Node.js
Install Android SDK
Download and install the latest version of Android SDK, please also update all the packages as listed in the screen.
Add ANDROID_HOME Variable
ANDROID_HOME: E:Androidandroidadt-bundle-windows-x86-20130717adt-bundle-windows-x86-20130717sdk
Update Android Path in system variables
PATH:E:Androidandroidadt-bundle-windows-x86-20130717adt-bundle-windows-x86-20130717sdkplatform-tools;
Download and Install GIT
Restart your System so that all variables get updated in the system
Install Cordova
Go to CMD
Create a directory to create your projects.
C:cordova
Open this url for instructions
Run
C:>npm install -g cordova
Create app
cordova create hello com.example.hello HelloWorld
cd hello
cordova platform add android
cordova build
cordova emulate android