Running phonegap on device - no device found

前端 未结 14 1697
孤独总比滥情好
孤独总比滥情好 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 02:59

    On LG G4 (on Windows OS) you need to do the following:

    1. Install LG USB drivers from http://www.lg.com/uk/support/support-mobile/lg-LGH815
    2. Activate Developer mode (7 clicks stuff)
    3. Activate USB debugging for current workstation computer (in developer options)
    4. Connect device (adb drivers will be installed then)
    5. Run cordova run android --device

提交回复
热议问题