Android Studio中的AVD管理器不显示我的设备,但adb设备显示它。我是不是遗漏了什么明显的东西?


当前回答

我也有这个问题。 经过我的edge 6,启用usb调试是灰色的,无法打开。 快速搜索谷歌显示是myKnox安全程序阻止了这一点。所有你需要做的是卸载myKnox,然后你可以允许usb调试。这解决了我的问题,选择设备对话框现在显示我连接的电话。

其他回答

AVD管理器用于模拟器图像。它从不显示硬件。这适用于任何AVD管理器的使用:Eclipse, Android Studio等。

我发现适合我的方法是:

CD到你的sdk platform-tools文件夹 检查adb是否看到您的设备 亚行。/设备 如果它显示“设备连接列表”和下面的空行,然后重新启动adb,如下所示: 亚行kill-server。/ 亚洲开发银行。/启动服务器 然后重新运行./adb devices,看看它是否拾取了该设备,如下所示: 所附设备清单 015年d2bc285601c0a设备

尝试以下解决方案(适用于Windows):

进入sdk工具安装路径,在\sdk\platform-tools文件夹下运行以下命令: 亚洲开发银行设备

如果你的设备列出了它应该显示如下内容:

C:\android\sdk\platform-tools>adb devices
List of devices attached
081e96500591f039        device

如果没有,请遵循以下方法:

Try these commands: adb kill-server adb start-server Make sure your phone has Developer Options in Settings (if not, go to Settings, About phone (or device), click on Android Version multiple times until you see a message). Make sure USB debugging on your phone is enabled (go to Developer Options in Settings and turn it on) Make sure you have Select USB Configuration set to MTP (this is also in Developer Options). Make sure you can see your files in your device in Windows Explorer when you connect via USB. Make sure you have the driver for your device properly installed (most of the time, this happens when you first plug in your USB cable). In Windows, right click on Computer, and go to Device Manager, check if you have Android Device right on the root folder and under it should be Android Composite ADB Interface. If you don't have this, you have to download the Google USB Driver. Get it here:

http://developer.android.com/sdk/win-usb.html

在设备管理器中,找到您的设备(应该有黄色感叹号),右键单击,并更新驱动程序(打开带有您刚刚下载的驱动程序的文件夹) 如果这不起作用,尝试重新启动Android Studio或重新插入设备。

一些便宜的设备(一些30美元的平板电脑)不提供USB驱动程序来连接设备管理器,所以在这种情况下你就不走运了。

我做过很多处理这个问题的方法。以下是你需要一步步遵循的内容。我希望这能帮到你。

步骤1:确保您的设备已启用开发。

步骤2:在您将设备插入PC之前,确保您选择了USB连接方法。

第三步:当你插入手机时,你会得到USB连接方法的选项,选择互联网连接。确保你已经连接到互联网。

第四步:在Android Studio中运行应用程序,它会要求您授权设备进行开发,并选择YES。

第五步:通过Android Studio运行应用程序,选择设备,而不是模拟器,然后BINGO!欢迎来到Android开发版。

同时取消勾选“工具”-“Android”-“启用ADB集成”。

这是我把Windows升级到10后的工作。