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


当前回答

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

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

其他回答

它为我工作如下步骤:-

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

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

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

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

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

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

干杯!

Android Studio也没有在Windows上显示我的设备(三星Galaxy Alpha),直到我从三星支持页面下载并安装了Windows驱动程序。我不得不在设备上使用MTP连接模式。我还在第一次连接设备后确认了对计算机的授权。

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

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

驱动程序将自动安装。

它对我很有效。

我的设置

Android Studio 3.5.3 macOS 10.14.6 Android 9设备通过Belkin USB集线器连接到Mac。

当从谷歌的Android github repo运行Kotlin示例项目时,没有配置,也没有设备显示在UI中。

解决方案

File > Sync Project with Gradle Files But my internet connection needs a fix, so I had to go to Preferences > System Settings > HTTP Proxy to specify a working proxy. Make sure buildscript{ ext.kotlin_version } runs a more recent version. I had to upgrade it from 1.2.xx to 1.3.xx. Now the project appears to be ready to build (the default emulator Nexus config is now enabled). Rebuild the project for the emulator just to make sure. Then I had to unplug my device from the USB hub and connect it to Mac directly. Now Android Studio sees my device. Plug the device again into the USB hub. Now Android Studio sees my device with the hub, too.

切换到PTP USP选项而不是MTP是解决方案。