Running phonegap on device - no device found

前端 未结 14 1695
孤独总比滥情好
孤独总比滥情好 2021-01-30 02:27

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         


        
相关标签:
14条回答
  • 2021-01-30 03:15

    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.

    0 讨论(0)
  • 2021-01-30 03:16

    Please follow below steps to run cordova application on android device.

    1. Go to control panel in windows and open device manager.
    2. Remove the default USB driver installed for your device. As shown below remove Samsung_Android device.

    3. Disconnect USB cable from android device.

    4. Again connect the USB cable and select USB drivers installation from Windows online (search online).

    0 讨论(0)
提交回复
热议问题