Android adb 返回“未找到设备”错误
当我通过 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
一些回复提到“选择“未知来源”复选框;您可以在“设置 -> 应用程序 -> 未知来源”中找到它。”
也许这是以前版本的 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"
首先检查设备是否已连接;键入以下命令:
如果设备已列出,则执行您的任务;否则,连接有问题。
First check if the device is connected; type the following command:
If the device gets listed, then perform your task; otherwise, there is a problem with the connection.
首先使用“adb devices”命令检查设备是否已连接(它位于 platform-tools 目录中)。
仅供参考,要在真实设备上开始 Android 应用程序开发,您必须更改一些设置:
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:
尝试以媒体设备 (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.尝试过重启手机吗?这曾经对我有用过
Tried to reboot your phone ? That worked for me once
尝试安装正确的驱动程序,我的驱动程序位于 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
启用 USB 网络共享。该设备将通过
adb devices
列出(适用于我的 LG G2/Lollipop)enable USB Tethering. The device would be listed via
adb devices
(workes for my LG G2/Lollipop)