[英]Android adb returns the “device not found” error
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". 当我通过USB将HTC Desire S手机插入PC(Win7)时,Device Manager会显示一个名为“HTC Remote NDIS based Device”的网络适配器。
Attempting a port mapping with adb, this happens: 尝试使用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
Do you have any advice? 你有什么建议吗?
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". 也许这是以前版本的Android中的一个选项,但对我来说(使用Android 4.4),“设置”下没有“应用程序”子菜单。 This appears to have moved to: "Settings" -> Security -> "Unknown sources"
这似乎已移至:“设置” - > 安全 - >“未知来源”
Try to connect you device in Media Device (MTP) mode. 尝试在媒体设备(MTP)模式下连接设备。
I have the same problem and after switching to MTP mode adb
was found my device. 我有同样的问题,切换到MTP模式后,
adb
被发现我的设备。
First check whether the device is attached or not with "adb devices" command (it is inside the platform-tools directory). 首先使用“adb devices”命令检查设备是否已连接(它位于platform-tools目录中)。
Just for information, to start with Android application development with a real device, you have to change some settings: 仅供参考,要开始使用真实设备进行Android应用程序开发,您必须更改一些设置:
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.
否则,连接存在问题。
Tried to reboot your phone ? 试图重启你的手机? That worked for me once
这对我有用了一次
enable USB Tethering. 启用USB Tethering。 The device would be listed via
adb devices
(workes for my LG G2/Lollipop) 该设备将通过
adb devices
列出(我的LG G2 / Lollipop的工作)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.