Android adb 返回“未找到设备”错误

发布于 2024-12-04 15:18:20 字数 351 浏览 3 评论 0原文

当我通过 USB 将 HTC Desire S 手机插入 PC (Win7) 时,设备管理器会显示一个名为“基于 HTC 远程 NDIS 的设备”的网络适配器。

尝试使用 adb 进行端口映射,发生这种情况:

7:22:09.68>"C:\Program Files\HTC\HTC Sync 3.0\adb" forward tcp:7777 tcp:7777
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found

您有什么建议吗?

When I plug my HTC Desire S phone into the PC (Win7) via USB, Device Manager shows a network adapter called "HTC Remote NDIS based Device".

Attempting a port mapping with adb, this happens:

7:22:09.68>"C:\Program Files\HTC\HTC Sync 3.0\adb" forward tcp:7777 tcp:7777
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found

Do you have any advice?

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

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

发布评论

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

评论(7

下壹個目標 2024-12-11 15:18:20

一些回复提到“选择“未知来源”复选框;您可以在“设置 -> 应用程序 -> 未知来源”中找到它。”

也许这是以前版本的 Android 中的一个选项,但对我来说(使用 Android 4.4) “设置”下没有“应用程序”子菜单,这似乎已移至:
“设置”-> 安全 -> “来源不明”

Several responses mention "Select the "Unknown sources" checkbox; you find it in "Settings->Applications->Unknown sources."

Perhaps that was an option in a previous version of Android, but for me (using Android 4.4) there is no "Applications" sub-menu under "Settings". This appears to have moved to:
"Settings" -> Security -> "Unknown sources"

小镇女孩 2024-12-11 15:18:20

首先检查设备是否已连接;键入以下命令:

C:\Program Files\HTC\HTC Sync 3.0\adb devices

如果设备已列出,则执行您的任务;否则,连接有问题。

First check if the device is connected; type the following command:

C:\Program Files\HTC\HTC Sync 3.0\adb devices

If the device gets listed, then perform your task; otherwise, there is a problem with the connection.

倚栏听风 2024-12-11 15:18:20

首先使用“adb devices”命令检查设备是否已连接(它位于 platform-tools 目录中)。

仅供参考,要在真实设备上开始 Android 应用程序开发,您必须更改一些设置:

  1. 选择“未知来源”复选框;您可以在“设置->应用程序->未知来源”中找到它。
  2. 选中“USB调试”复选框;您可以在“设置->应用程序->开发->USB 调试”中找到它。

First check whether the device is attached or not with "adb devices" command (it is inside the platform-tools directory).

Just for information, to start with Android application development with a real device, you have to change some settings:

  1. Select the "Unknown sources" checkbox; you find it in "Settings->Applications->Unknown sources."
  2. Select the "USB Debugging" checkbox; you find it in "Settings->Applications->Development->USB Debugging."
寄人书 2024-12-11 15:18:20

尝试以媒体设备 (MTP) 模式连接您的设备。

我有同样的问题,切换到MTP模式后adb找到了我的设备。

Try to connect you device in Media Device (MTP) mode.

I have the same problem and after switching to MTP mode adb was found my device.

妳是的陽光 2024-12-11 15:18:20

尝试过重启手机吗?这曾经对我有用过

Tried to reboot your phone ? That worked for me once

国产ˉ祖宗 2024-12-11 15:18:20

尝试安装正确的驱动程序,我的驱动程序位于 https://motorola -global-portal.custhelp.com/app/answers/detail/a_id/88481

try installing your correct driver,I got mine on https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

动听の歌 2024-12-11 15:18:20

启用 USB 网络共享。该设备将通过 adb devices 列出(适用于我的 LG G2/Lollipop)

enable USB Tethering. The device would be listed via adb devices (workes for my LG G2/Lollipop)

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