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>