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


当前回答

当我面对这个问题时,我使用的是Android Studio 3.1版本。我尝试了上面的很多方法,没有一个对我有效(不知道为什么:/)。最后我自己尝试了一些不同的东西。我的方法是:

在去咆哮步骤之前,确保

*Your "Google USB Driver" package is installed ("Tools" -> "SDK Manager" -> Check "Google USB Driver" -> "Apply" -> "Ok").

*If you are trying to access with emulator then check "Intel x86 Emulator Accelarator(HAXM installer)" is instaled. ("Tools" -> "SDK Manager" -> Check "Intel x86 Emulator Accelarator(HAXM installer)"" -> "Apply" -> "Ok")

转到工具。 然后进入SDK管理器。 开放SDK工具。 取消勾选“Android SDK Platform-Tools”(在我的情况下,它是选中的)。 按apply然后ok。 再次进入工具。 然后进入SDK管理器。 开放SDK工具。 查看“Android SDK平台-工具” 重启Android Studio:)

希望这能帮助到像我这样的人。

其他回答

我相信这对外面的人很有用。 在我的情况下,我在mac上运行Android Studio,也尝试Visual Studio Xamarin。同时打开这两扇门会造成这种冲突。所以关闭Visual就足够了。

尝试以下解决方案(适用于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驱动程序来连接设备管理器,所以在这种情况下你就不走运了。

在您的设备上:

进入设置/开发人员设置/允许USB调试模式

如果“允许USB调试模式”选项被禁用。然后,您可能已经将该设备连接到您的PC。断开设备连接,该选项现在应该可用了

注意:在Android 4.2及更新版本上,开发者选项默认是隐藏的。要使它可用,请进入“设置”>关于电话,并点击“构建号码”七次。返回到前一个屏幕以查找Developer选项。

如果还是没用,你可以用这个表达来谷歌它:

如何启用YOUR_PHONE_TYPE上的开发人员选项

为了避免任何人5分钟的挠头,“开发人员选项”现在在“设置/系统和更新/开发人员选项”下

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

我在windows 8中遇到过同样的问题,并找到了解决方案。

1)右键单击“我的电脑”。 2)点击管理器。 3)进入设备管理器。 4)右键单击设备名称(下面是其他设备)。 5)点击更新驱动程序。 6)点击下一步。 7)点击“Let me know…”标签。

驱动程序将自动安装。

它对我很有效。