Saturday 16 August 2014

Cordova / PhoneGap Simple Commands

npm install -g cordova

npm uninstall cordova -g


cordova install -g cordova@<version> eg cmd:>cordova install -g cordova@3.3  ok

cordova <projectname> <package name com.sa > <Folder name>

cd poject folder

cordova platform add android

cordova platform ls

cordova -v

cordova platform rm android

cordova build android <import eclpise>

cordova emulate android  <run on emulator>

cordova run android      <Run on android deveice>

cordova prepare android

cordova compile android

cordova plugin ls    # or 'plugin list'

$ cordova plugin rm org.apache.cordova.console
$ cordova plugin remove org.apache.cordova.console    # same

cordova update
cordova up



$ cordova platform update android
$ cordova platform update ios

$cordova info

No comments:

Post a Comment