To have the project run on your device instead of in the emulator, you basically only have to plug in your device before you run cordova run android
.
Cordova will run the emulator only if it can't find a device connected.
Before you run cordova run android
, I advise you to run the command adb devices
to check if your device is found by the android sdk tools.
If it's not, you need to enable USB debugging on the device and install an adb driver for your device.
Edit:
As this answer seems to get up votes, I think it would be a good idea to improve it a little...
There's actually a --device
option you can add when you run cordova run android
to force to start on the device (without that an emulator is started if no device is found, that can sometime be annoying).