Android device does not show up in adb list [close

2019-01-07 05:29发布

I have a HP Slate 21 that is connected to my Windows box using a USB cable. USB debugging is enabled on the device. After adding the proper %SingleAdbInterface% and %CompositeAdbInterface% entries to the android_winusb.inf file, I now see "Android ADB Interface" in my Device Manager. However, running adb devices at the command-line does not show the device.

I have another HP slate 7 that shows up just fine under adb devices.

The only difference I see from Device Manager is that the one that works is named "Android Composite ADB Interface" and the other one is named "Android ADB Interface."

There is yet another subtle difference. In the winusb.inf file, for Slate 7 I have two %CompositeAdbInterface% entries defined but for Slate 21, there is just one %CompositeAdbInterface% entry defined.

What could be wrong with my setup?

标签: android adb
30条回答
老娘就宠你
2楼-- · 2019-01-07 05:41

Have you ever reset the adb after you installed the new device?

enter image description here

Or from command line:

  1. Close Eclipse if running
  2. Go to the Android SDK platform-tools directory in Command Prompt (ok, you knew this, i know!)
  3. type adb kill-server
  4. then type adb start-server
  5. Read if there are some errors otherwise try adb devices again
查看更多
别忘想泡老子
3楼-- · 2019-01-07 05:41

Disable and re-enable "use debug mode" on your telephone

查看更多
霸刀☆藐视天下
4楼-- · 2019-01-07 05:41

Same as other android devices, a new Yuntab also requires going to settings > about and tapping on the build number to enable developer status.

查看更多
淡お忘
5楼-- · 2019-01-07 05:42

While many of these solutions have worked for me in the past, they all failed me today on a Mac with a Samsung S7. After trying a few cables, someone suggested that the ADB connection requires an official Samsung cable to work. Indeed, when I used the Samsung cable, ADB worked just fine. I hope this helps someone else!

查看更多
Root(大扎)
6楼-- · 2019-01-07 05:42

Tried off/on developer/usb options, but turns out swopping for another cable worked. Just in case someone waste time trying everything software.

查看更多
Root(大扎)
7楼-- · 2019-01-07 05:43

Toggling USB debugging off and then back on did the trick for me.

查看更多
登录 后发表回答