Android adb (OSX Lion) does not recognize Galaxy Nexus, Jelly Bean

前端 未结 4 636
长发绾君心
长发绾君心 2021-02-07 19:12

I\'ve been developing my first android apps on Eclipse installed on OSX Lion. I would like to use my Jelly Beans Galaxy Nexus for debugging, but the Android Device Bridge (adb)

相关标签:
4条回答
  • 2021-02-07 19:53

    Have you tried a different cable? I ordered a bunch of cheap cables off of eBay, and the first one I used would not work for adb. It did work for charging and file transfers however.

    0 讨论(0)
  • 2021-02-07 19:58

    You can use adb over wifi.

    See this post to do it yourself.

    or there are quite a lot of apps on google play. But these need root access

    0 讨论(0)
  • 2021-02-07 19:59
    1. Try taking the usb stick out of the phone and put it back
    2. Try taking it out of the mac and put it back
    3. Try to put the stick in another port
    4. Try to wriggle the stick so you are sure it is connected.

    There is a long discussion with possible solutions here: Can't find android device using "adb devices" command

    0 讨论(0)
  • 2021-02-07 20:02

    I'm answering this because my boss just had the exact same issue with his Galaxy Nexus, and we finally fixed it yesterday. He had an application, "EasyTether" that was snagging his connection to ADB and it couldn't be used anywhere else. Is it possible that you've setup this application, or a similar one that might be using ADB for you? If "Android File Transfer" works (it was working in parallel with EasyTether for my boss), then your connection is active, so as long as "USB Debugging" is enabled in your settings, you should be seeing a connection. Here's a quick how-to in the event that you do have "easytether"

    BEFORE you plug your phone in run the following in terminal

    sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
    

    If that fixes the issue, and you want to remove easytether altogether, you can us the rm command with the -rf flags to keep it from happening again...

    sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
    sudo rm -rf /System/Library/Extensions/EasyTetherUSBEthernet.kext
    
    0 讨论(0)
提交回复
热议问题