eclipse Android DDMS 中没有设备列表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6318597/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No device list in Android DDMS
提问by Tony Thijs
I have the newest eclipse & Android SDK -release 11- installed on Windows Vista. I updated the SDK and chose Android 3.0.1. I connected an Android 3.01 Acer Iconia Tab A500. Installed the original Acer USB driver. The Iconia shows up in Windows and I can connect to the Iconia's file system. In Eclipse / DDMS no devices are shown in the list. Kind regards, Tony Thijs
我在 Windows Vista 上安装了最新的 eclipse & Android SDK -release 11-。我更新了 SDK 并选择了 Android 3.0.1。我连接了 Android 3.01 Acer Iconia Tab A500。安装了原装 Acer USB 驱动程序。Iconia 出现在 Windows 中,我可以连接到 Iconia 的文件系统。在 Eclipse/DDMS 中,列表中未显示任何设备。亲切的问候,托尼·蒂斯
回答by Shumon Saha
If you are using Ubuntu,
如果您使用的是Ubuntu,
Firstly, add your USB vendor ID to the file 51-android.rules
. See herefor more details.
首先,将您的 USB 供应商 ID 添加到文件51-android.rules
. 请参阅此处了解更多详情。
Next,
下一个,
sudo ./adb kill-server
sudo ./adb start-server
Also make sure that your USB Debuggingis enabled in the device.
还要确保在设备中启用了USB 调试。
回答by Justin
Have you made sure "USB debugging" is enabled on the device?
您是否确定在设备上启用了“USB 调试”?
Settings >> Applications >> Development >> USB debugging
设置>>应用>>开发>>USB调试
回答by indah
If You are using windows manually end process of adb.exe. Pres Ctrl+alt+Del find adb.exe and press "end process". After that execute adb start-server on your command promt.
如果您使用 Windows 手动结束 adb.exe 进程。按 Ctrl+alt+Del 找到 adb.exe 并按“结束进程”。之后在命令提示符下执行 adb start-server。
I did those things and it solved the problem. Hopefully it can also solve your problem.
我做了这些事情,它解决了问题。希望它也可以解决您的问题。
回答by jsh
I'm using ubuntu 10.10 alongside a500. The instructions from the link and sudo commands helped. I also tried without sudo and that didn't work (got ????? in adb devices). Please note that for my dev I'm using eclipse running under a normal account. Below is my output from "adb devices"
我正在使用 ubuntu 10.10 和 a500。来自链接和 sudo 命令的说明有所帮助。我也试过不使用 sudo 并且没有用(在 adb 设备中有 ????? )。请注意,对于我的开发人员,我使用的是在普通帐户下运行的 eclipse。以下是我从“adb devices”的输出
android-sdk-linux_x86/platform-tools$ ./adb devices List of devices attached 288504640800597 device
android-sdk-linux_x86/platform-tools$ ./adb devices 连接的设备列表 288504640800597 device