Running phonegap on device - no device found

What worked for me was changing the device from a media device to camera in the USB settings.

USB computer connection (Camera).png


If you have only one adb-capable device, use this command:

phonegap run android --device

If you have more than one you will need to specify the device ID this way:

phonegap run android --device=<device-id>

Example:

phonegap run android --device=SH25PW103163

phonegap run android --target=SH25PW103163

If you want to know the code of a device execute this in the console (shell, terminal):

adb devices


If you have only one device attached, phonegap run android --device is enough.


I had similar problem. I cloned code from git and the phonegapp did not install app in my device (LG Nexus 4). But I had another app installed in my phone with the same name and ID of the app that I was trying to install.

Removing the old app from my phone solved this problem to me.