I have a HP Slate 21 that is connected to my Windows box using a USB cable.

设备上已打开USB调试开关。

将正确的%SingleAdbInterface%和%CompositeAdbInterface%条目添加到android_winusb。inf文件,我现在看到“Android ADB接口”在我的设备管理器。 但是,在命令行中运行adb devices不会显示设备。

我还有一款惠普7系列产品,在adb设备下显示得很好。

我从设备管理器中看到的唯一区别是,一个是“Android复合ADB接口”,另一个是“Android ADB接口”。

还有一个微妙的区别。在winusb中。inf文件,对于Slate 7,我有两个%CompositeAdbInterface%条目定义,但对于Slate 21,只有一个%CompositeAdbInterface%条目定义。

如何使用adb devices命令查看我的设备?


当前回答

我的ubuntu也有同样的问题。当我运行命令adb devices时,它会显示??????????没有权限。

然后我尝试了adb kill-server,然后sudo su和adb设备。无需执行命令adb start-server devices命令,如果未启动,将自动启动。

希望这能节省一个人的时间。

其他回答

确保您的设备没有连接为媒体设备。

我在这条线上尝试了所有的方法,但都没用。我的问题是:当我连接电缆时,我的电脑正在给设备充电,所以我以为电缆是工作的,但不是。交换电缆后,adb设备工作正常。电报是问题所在。

不管怎样,我在Windows7电脑上安装ADB驱动程序时遇到了问题。原来病毒扫描“访问保护”阻止(仅部分)驱动程序正确安装。拔下USB,从设备管理器中卸载三星设备,禁用VS访问保护,重新插入USB,一切正常。浪费了一个小时,希望能帮你省下一个小时。

Adb没有检测到连接的nexus 5设备。 打开手机,启用开发人员选项,启用USB调试模式,现在与adb可见。此外,USB配置仍然是MTP。希望这能有所帮助。

所以上面提到的方法对我没用。对我来说,有用的是在谷歌上搜索三星Galaxy Tab USB驱动程序,下载并运行应用程序,让我的设备在我使用adb设备时得到识别。因为我用的是三星Galaxy,所以我用这个链接从三星官方网站下载了usb驱动程序。你会想谷歌自己的android型号usb驱动程序

http://www.samsung.com/us/support/owners/product/SCH-I925EAAVZW

After downloading it, I ran the application to install my usb driver and then did adb devices. Make sure your Google USB driver from the Android SDK is downloaded and that your sdk is up to date as well. Also, make sure that your USB debugging mode is enable by going to Settings -> Developer Options -> then checking USB debugging. After all this, your device in the Device Manager should not have a yellow exclamation point next to it. When you run adb devices your device should show up. Hope this helps people. I literally spent hours trying to figure this out. Hopefully my answer could save you guys the hours I spent googling.