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


当前回答

在更新到Android Studio 3.1后,它无法看到我的设备,但adb可以看到它们。

要解决这个问题,你需要开始调试模拟器一次,然后在运行->编辑配置中切换回USB设备…- >目标。这一次它应该会起作用。

Android Studio 3.1与以前的版本相比有很多变化,所以你必须重置调试目标才能让你的设备正常工作。

其他回答

它为我工作如下步骤:-

如果您使用Windows,由于驱动程序问题,设备将无法显示。

转到设备管理器(使用开始搜索即可) 并查找任何显示错误的设备。许多机器人会显示为一个未知的USB设备,并带有感叹号。选择该设备并尝试更新它的驱动程序。更新部分请参考链接:universal adb

但在此之前,你必须更新你的sdk管理器,并确保谷歌USB驱动软件包安装。

完成后,驱动程序文件被下载到\extras\谷歌\usb_driver\目录中。提示:搜索“android_winusb”。在Windows启动和打开文件位置下的inf",以获得所提到的目录。

打开你的设备管理器,导航到你的android设备,右键点击它,选择更新驱动程序软件,然后选择浏览驱动程序软件。按照前面的文件位置路径安装谷歌USB驱动程序。

重新启动Android设备中的Android Studio和开发者选项,并重新连接USB。

干杯!

对我来说,Macbook USB C Hub才是问题所在。我把手机直接连接到Mac USB C端口,工作起来很有魅力!希望这对你有所帮助!

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

如果你仍然有这个问题(2015年夏天之后),也许你应该:

点击这里:http://developer.android.com/sdk/win-usb.html#top 下载驱动程序 重新安装它

我最近安装了Windows 10(不是升级,是一个干净的安装),我忘记了ADB USB驱动程序

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