Adb Devices 找不到我的手机

发布于 2024-11-16 22:28:37 字数 1459 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

无人接听 2024-11-23 22:28:37

尝试这样做:

  • 拔掉设备
  • 执行adb Kill-server && adb start-server(重新启动 adb)
  • 重新插入设备

您也可以尝试编辑 adb 配置文件 .android/adb_usb.ini 并添加一行 04e8< /code> 位于标题之后。需要重新启动 adb 才能使更改生效。

Try doing this:

  • Unplug the device
  • Execute adb kill-server && adb start-server(that restarts adb)
  • Re-plug the device

Also you can try to edit an adb config file .android/adb_usb.ini and add a line 04e8 after the header. Restart adb required for changes to take effect.

简单气质女生网名 2024-11-23 22:28:37

我有一台三星 Galaxy,我遇到了和你一样的问题。修复方法如下:

在 Windows PC 上的设备管理器中,即使可能显示 USB 驱动程序已正确安装,但也可能存在损坏。

我进入设备管理器并卸载了 SAMSUNG Android USB Composite Device,并确保选中“删除驱动程序软件”框。现在设备上会有感叹号等。我右键单击并再次安装驱动程序(刷新副本)。这最终让 adb 承认我的手机是模拟器。

正如其他人指出的,对于 Nexus 4,您还可以 尝试此修复

I have a Samsung Galaxy and I had the same issue as you. Here's how to fix it:

In device manager on your Windows PC, even though it might say the USB drivers are installed correctly, there may exist corruption.

I went into device manager and uninstalled SAMSUNG Android USB Composite Device and made sure to check the box 'delete driver software'. Now the device will have an exclamation mark etc. I right clicked and installed the driver again (refresh copy). This finally made adb acknowledge my phone as an emulator.

As others noted, for Nexus 4, you can also try this fix.

后eg是否自 2024-11-23 22:28:37

我执行了以下操作,让我的 Mac 再次看到设备:

  • 运行 android update adb
  • 运行 adb Kill-server
  • 运行 adb start-server

At此时,调用 adb devices 再次开始返回设备。现在运行或调试您的项目以在您的设备上测试它。

I did the following to get my Mac to see the devices again:

  • Run android update adb
  • Run adb kill-server
  • Run adb start-server

At this point, calling adb devices started returning devices again. Now run or debug your project to test it on your device.

弃爱 2024-11-23 22:28:37

我有一部中兴 Crescent 手机(橙色 San Francisco II)。

当我将手机连接到 USB 时,OS X 中会显示一个名为“ZTE_USB_Driver”的磁盘。

运行 adb devices 显示没有连接的设备。但当我从 OS X 中弹出“ZTE_USB_Driver”磁盘并再次运行 adb devices 后,手机显示已连接。

I have a ZTE Crescent phone (Orange San Francisco II).

When I connect the phone to the USB a disk shows up in OS X named 'ZTE_USB_Driver'.

Running adb devices displays no connected devices. But after I eject the 'ZTE_USB_Driver' disk from OS X, and run adb devices again the phone shows up as connected.

过期情话 2024-11-23 22:28:37

我花了半天时间尝试将我的各种 Android 设备连接到我的 MacBook Pro(运行 10.8.2)。事实证明是 Micro USB 数据线的问题。我有很多 Micro USB 数据线,但只有 Galaxy Nexus 随附的一根可以将手机连接到我的电脑。我不知道这是否是由于损坏或某些专有制造造成的,但请记住尝试使用随附的电缆连接手机。

I just spent half a day trying to connect my various Android devices to my MacBook Pro (running 10.8.2). It turns out to have been a Micro USB cable problem. I have many Micro USB cables, but only the one that came packaged with my Galaxy Nexus works to connect the phones to my computer. I don't know if this is due to damage, or some proprietary manufacturing, but please remember to try connecting the phone with the cable that was packaged with it.

宣告ˉ结束 2024-11-23 22:28:37

我也有一个 Fascinate,并且不得不将手机的 USB 通信模式从 MODEM 更改为 PDA。使用:

  • 输入**USBUI (**87284)

将USB和UART都更改为PDA模式。我还必须断开并重新连接 USB 电缆。一旦 Windows 再次重新识别该设备,“adb devices”就开始返回我的设备。

顺便说一句,如果您使用 CDMA Workshop 或同等产品,则需要将设置切换回 MODEM。

I have a Fascinate as well, and had to change the phone's USB communication mode from MODEM to PDA. Use:

  • enter **USBUI (**87284)

to change both USB and UART to PDA mode. I also had to disconnect and reconnect the USB cable. Once Windows re-recognized the device again, "adb devices" started returning my device.

BTW if you use CDMA workshop or the equivalent, you will need to switch the setting back to MODEM.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文