I am trying to run an app that I made in phonegap on my device, connected with USB.
-> phonegap run android
[phonegap] detecting Android SDK environment...
[p
The methods mentioned in the other answers didn't work for me. What worked for me was googling Samsung Galaxy Tab USB driver and downloading and running it. The application then got my device recognized when I did adb devices. Since I was using a Samsung Galaxy, I used this link to download the usb driver from the OFFICIAL Samsung site. You would want to google your own respective android model usb driver
http://www.samsung.com/us/support/owners/product/SCH-I925EAAVZW
After downloading it, I ran the application to install my usb driver and then did adb devices. Make sure your Google USB driver from the Android SDK is downloaded and that your sdk is up to date as well. Also, make sure that your USB debugging mode is enable by going to Settings -> Developer Options -> then checking USB debugging. After all this, your device in the Device Manager should not have a yellow exclamation point next to it. When you run adb devices your device should show up. Hope this helps people. I literally spent hours trying to figure this out.
Please follow below steps to run cordova application on android device.
Remove the default USB driver installed for your device. As shown below remove Samsung_Android device.
Disconnect USB cable from android device.