简体   繁体   English

当我运行简单的Android应用程序时,Eclipse上的设备列表为空

[英]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.

相关问题 通过设备运行Android应用程序时出错 - Error while running an Android application through device 在eclipse上运行android应用程序时出现此错误 - getting this error while running android application on eclipse 在eclipse android real设备上运行我的程序时,我在LogCat中遇到许多错误,这些错误以及如何解决? - When running my program on eclipse android real device i'm getting many errors in the LogCat what all this errors and how to fix them? 无法将我的设备与Eclipse连接以运行Android应用程序 - Not able to connect my device with Eclipse for running Android Application 应用程序未在Android设备上运行 - Application not running on Android device 如何在应用程序运行时强制android设备保持活动状态 - How to force an android device to stay alive while the application is running Ionic:在我的Android设备中运行应用程序时出错 - Ionic: Error while running application in my android device 运行android应用程序时,我的设备中安装了两个应用程序 - Two app installed in my device while running android application 我正在开发的应用程序未在我的android设备中显示或打开 - The application I'm developing does not appear or open in my android device 在Android Studio上运行应用程序时无法显示图像 - I'm unable to display image while running the app on Android Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM