Installing Cordova and setting it up for development.
Step 1:
Add JDK & JRE to
Environment variable path
Step 2:
Add android sdk tools and platform
tools to Environment Variables
Step 3:
Install Node
Step 4:
Go to Command prompt, type
> npm (Check whether it
exists)
> node (Check whether it
exists)
Step 5:
Install ANT
Add ant path to environment
variable as given in its documentation
Step 6: Install Cordova
Go to Command prompt, type
> npm install -g cordova
This will install cordova in your
system.
Next Steps
Refer
Step 7: To install plugins,
install git if needed
Check :
Open cmd and check the
result matches.
SNO
|
Command
|
Result
|
1
|
Ant
|
Build.xml not found
|
2
|
Npm –v
|
1.4.28 or whatever version you have added
|
3
|
Java –version
|
Version number
|
4
|
Android
|
Sdk manager should open
|
Set the path in the order of
java-bin;
node-js;
ant-bin;
android platform tools;
android tools;
Comments
Post a Comment