[英]Empty device list on eclipse while I'm running simple android application
I get empty device list on eclipse although I'm connecting a device with Android 4.2 running on it. 尽管我正在连接运行Android 4.2的设备,但在eclipse上却得到了空的设备列表。 How can I add my device to the list?
如何将我的设备添加到列表中?
You need to make sure the device is configured to allow 'USB Debug' Connections (in the Developer options on the device). 您需要确保将设备配置为允许“ USB调试”连接(在设备的“开发人员”选项中)。
Sometimes, you will need to restart ADB once the device is connected if it isn't showing up. 有时,如果设备未显示,则需要在连接设备后重新启动ADB。 To do this, there is a button in the 'DDMS Perspective'\\Devices\\rightmost upside down triangle button.
为此,在“ DDMS透视图” \\ Devices \\最右边的倒置三角形按钮中有一个按钮。
Or from the command line: 或从命令行:
adb kill-server
adn start-server
You must turn on USB debugging on the device, and install the corresponding USB drivers. 您必须在设备上打开USB调试 ,然后安装相应的USB驱动程序。
See http://developer.android.com/tools/device.html 参见http://developer.android.com/tools/device.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.