adb not finding my device / phone (MacOS X)

2019-01-01 08:05发布

Doing Android development on a Mac and this very new phone I have doesn't show up in the devices list in adb. Lots of other phones and devices work fine for me so I know my setup is good.

I have debugging enabled (Settings --> Applications --> Development --> USB debugging) on the phone, but it just doesn't show up when I run adb devices

标签: android adb
29条回答
流年柔荑漫光年
2楼-- · 2019-01-01 08:25

Also make sure you check the vendors website for their "USB" drivers. I had this problem with my AT&T Galaxy Note (Running Android 2.3.6) and it wasn't being recognized by the adb without a driver install that I got from the samsung website.

查看更多
ら面具成の殇う
3楼-- · 2019-01-01 08:25

On the LG G3 I was able to get it working by installing ADB via homebrew (Installing ADB on MAC OS X) and then disabling/enabling USB debugging.

查看更多
浮光初槿花落
4楼-- · 2019-01-01 08:26

I had a devil of a time with this.

I attempted this method but it did not work. I ended up turning OFF USB debugging and the device then requested that install motocast.

It attempted to use the build in installer but it kept crashing past the download. After I downloaded it manually and installed it, I was able to do it.

I am running 10.6.8 and the device is a Xoom 2 running 3.2.2

After that installation, it worked fine.

查看更多
泪湿衣
5楼-- · 2019-01-01 08:27

Just in case it helps somebody in the future, I had accidentally turned off "USB debugging" in my settings when I was enabling/disabling "Show layout boundaries". So, first check this setting in your "Developer options".

查看更多
千与千寻千般痛.
6楼-- · 2019-01-01 08:27

Tried all the above, the last piece missing was to enable USB Debugging within Developer Options which was hidden on my 4.4 Galaxy Note 10.1.

See item 5.2 from this link.

查看更多
闭嘴吧你
7楼-- · 2019-01-01 08:28

Solution specific to Nexus 4 and Nexus 5 for OS X

Got no device listed in the "List of devices attached" when I ran: adb devices

Fix:

  1. Get the SDK (Latest Version) from developer.android.com
  2. Put developer mode on nexus 4 ( About Phone > Build Number > tap 7 times to enter Dev Mode)
  3. A new menu option will come up in the 'Settings' : { } Developer Options
  4. Make sure you check the following under { } Developer options:
    • USB Debugging : Debug mode when USB is connected (Accept the RSA fingerprint popup)
    • Verify apps over USB : Check apps installed via ADB/ADT for Harmful behavior

Try listing your device from ./adb devices and it should work.

Answer taken from: Any idea why adb does not recognize my nexus 4 on mac

查看更多
登录 后发表回答