Trouble connecting to LG phone with adb (Mac OS X 10.7.5)

孤人 提交于 2019-12-06 17:07:35

问题


When I run adb devices there are no devices showing as connected. My device is a LG Optimus Exceed 2 running 4.4.2 There are many of these posts around, so here's what I've done:

  • I'm using the cord that came with the phone. It charges and tries to sync photos, so it isn't an issue here. Switching usb ports and trying a powered usb hub doesn't affect it either.
  • I've added the vendor id (0x1004) to ~/.android/adb_usb.ini
  • Restarted and unplugged any combination of things you can think of
  • USB Debugging is on. And has been restarted. Same with Unknown sources.
  • I have never used EasyTether, nor is it installed anywhere on my computer.
  • Updated adb, updated my sdk.
  • Restarted adb server
  • Tried installing LG's drivers: http://www.lg.com/us/support-mobile/lg-VS450PP (They say they don't support Mac S/W upgrade, yet they have a package to install. No help there)
  • I have a Nexus S running 4.1 that works, and an old LG phone running Gingerbread that connect.

Any wizards out there who've already struggled with this who have advice?


回答1:


I tried all of the connection types (charge, MTP, PTP) but perhaps not "Internet Connnection, modem"? You can change it by pulling down the system-wide drop down menu and touching "USB connection".

This is how I fixed it, but I thought I'd tried this already, so I can't guarantee it wasn't this in conjunction with one of the things done above.




回答2:


PTP seemed to do the trick. Never had to do that on any other device...




回答3:


I had the exact same problem. Selectin Internet Connection and then Ethernet as the USB connection type fixed it and everything is working as expected now.




回答4:


I know this sounds like a stupid answer, but the same thing happened to me. It turns out the micro USB cord was just bad - which is weird, because it still charged the phone perfectly fine. After testing the bad cable unsuccessfully on a phone that had been recognized on my mac before, I switched to a different micro USB cable, and that made all the difference.




回答5:


This is late in the game but I had an additional step to all the other suggestions. The phone was showing up in the System Profiler after I switched the usb mode to 'MTP' mode, but I didn't see any usb tethering options. After adding the phone's vendor ID to the usb ini file, enabling the developer and usb debugging, killing and restarting adb, I still didn't see my device in adb devices.

I finally had to download the Mac driver for the phone directly from LG.com. After installing and rebooting on the computer, the device showed up in adb devices.



来源:https://stackoverflow.com/questions/24434850/trouble-connecting-to-lg-phone-with-adb-mac-os-x-10-7-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!