ionic command line - rlasjunies/kct GitHub Wiki

  • compile and simulating cordova on web page
    ionic serve -d

this will start a web portal simulating cordova application

  • compile and emulator
    ionic cordova run android

if a device is connected to the PC the apk generated will be deployed, if no device is connected the simulator should be run (if well installed ;-)

  • produce a release build

ionic cordova build --release --prod android

this will produce an apk build with the flag prod (not a debug one)