1. Install Nodejs (node-v0.12.2-x64.msi), and Git client (Git-1.9.5-preview20150319.exe)
2. Command Window run NPM instal-g Cordova
The installation process depends on the speed of the network, usually more than 10 a few 10 minutes is normal
Colleagues summed up the next Cordova some of the content, relatively comprehensive, put here I also good reference,
Android SDK Download Proxy
Mirrors.opencas.cn 80
Dalian Neusoft Institute of Information Mirror server address:
http://mirrors.neusoft.edu.cn Port: 80
Beijing University mirror server address:
ipv4:http://ubuntu.buct.edu.cn/Port: 80
ipv4:http://ubuntu.buct.cn/Port: 80
ipv6:http://ubuntu.buct6.edu.cn/Port: 80
Shanghai GDG Mirror server address:
Http://sdk.gdgshanghai.com Port: 8000
Open Source Association of CAS image station address:
ipv4/ipv6:http://mirrors.opencas.cn Port: 80
ipv4/ipv6:http://mirrors.opencas.org Port: 80
ipv4/ipv6:http://mirrors.opencas.ac.cn Port: 80
Compression01.stkn.mdsg-pacwest.com 80
Cordova Help
Cordova Info
NPM update-g Cordova
NPM install-g [email protected]
NPM Info Cordova
Cordova Platform update Android
$ Cordova Build # Build all platforms that were added
$ Cordova Build Android # build debug for only Android
$ Cordova Build Android--debug # build debug for only Android
$ Cordova Build Android--release # Build release for only Android
$ Cordova Emulate Android #to deploy the app on a default IOS emulator
$ Cordova Run Android--device #to deploy the app on a connected device
Cordova Plugin Add
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-networkinformation.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-orientation.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
Cordova Plugin Add Https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
Cordova Plugin Add cordova-plugin-network-information
Cordova Plugin Add Cordova-plugin-battery-status
Cordova Plugin Add Cordova-plugin-file-transfer
Cordova Plugin Add Cordova-plugin-console cordova-plugin-device
Cordova plugin Add [email protected]
Cordova plugin Add [email protected]
Cordova Plugin Add https://github.com/apache/cordova-plugin-console.git#r0.2.0
Cordova Plugin Add Https://github.com/someone/aplugin.git#:/my/sub/dir
Cordova Plugin Add Https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir
Cordova Plugin Add: /my_plugin_dir
Cordova Plugin Remove Org.apache.cordova.core.file
Cordova Prepare Platform_name
Cordova Compile Android
Cordova Build Android
Cordova emulate Android
Cordova serve Android 8080
Cordova Plugin Search bar code
Cordova Create Lunch_menu
CD Lunch_menu
Cordova Platform Add BlackBerry
Cordova Prepare BlackBerry
Cordova Create map_1.0 Com.zhxjz.map MAP
Cordova Platform Add Android
Cordova Platform LS
Cordova Platform Remove Platform_name
<script type= "Text/javascript" charset= "Utf-8" src= "Cordova.js" ></script>
Cordova Environment Setup