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命令查看我的设备?


当前回答

我有一部Android LG G4,唯一管用的就是从我的设备上安装软件更新和修复工具。步骤:

将设备插入usb 确保启用了开发人员选项和usb 检查调试(参见thread或谷歌中的其他地方) 指令) 选择usb连接方式“软件安装”:

安装向导应该出现在计算机上。 在安装过程中的某个时刻,您将在您的手机上看到一个提示,询问“信任这台计算机?”带有RSA令牌/指纹。在您说“是”之后,设备应该被ADB识别,您可以完成向导。

其他回答

对于WINDOWS用户,请按照此处的说明操作。 https://software.intel.com/en-us/xdk/docs/installing-android-debug-bridge-adb-usb-driver-on-windows

基本上,MTP/PTP都不需要。您需要按照页面截图中的说明从设备管理器配置您的设备。

希望能有所帮助。

所以上面提到的方法对我没用。对我来说,有用的是在谷歌上搜索三星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.

在Android 8中,奥利奥:

进入设置/开发人员选项/选择USB配置; 选择PTP(图片传输协议)。

虽然这些解决方案中有许多在过去对我有效,但在我今天使用三星S7的Mac电脑时,它们都失败了。在尝试了几根电缆后,有人建议ADB连接需要正式的三星电缆才能工作。事实上,当我使用三星电缆时,ADB工作得很好。我希望这能帮助到其他人!

尝试更新ADB和手机本身。 然后如果它仍然不工作,尝试连接电话,然后没有usb调试,或与然后没有usb存储上。