1. First download node. js
Official website: https://nodejs.org/en/under the landlord is v.7.1.0
Direct default installation, all the way next. When you are finished Windows+r open the Run window and enter CMD.
Then enter NODE-V to detect if the installation was successful (-V does not-verson)
After success, NPM will automatically install, npm-v continue to detect, the version indicates the installation is successful.
2. Then the play comes up. Install Cordova
First open an agent or the speed you will be crazy;
In the Command Line window, enter: NPM config--global set Registry http://registry.cnpmjs.org
In the Command Line window, enter: NPM install-g Cordova
Then wait to download the installation.
Then Cordova-v detection is successful
Here you create an app named Firstapp,id Com.cycle.first, placed under the first folder:
Create command: Cordova Create first COM.CYCLE.FIRSTAPP firstapp-d
Equipped with Android (iOS other can be replaced on Android, see what you need) Cordova platform add Android
And then it's a long wait
Note: If the DOM was previously turned off, please re-add the agent
Then don't use the DOM to show if it's successful, as long as you have Android on your platforms directory.
Appears y/n direct n does not send information to the company.
Simple to build up, Bo master computer originally has SDK and ADT here is not much, if there is demand please private chat.
Turn on Eclipse and Webstorm to run this project at the same time, modify the data in index.html under the corresponding assert, remember ctrl+s save it, and the other IDE will change dynamically.
Cordova Installing and creating platform projects