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


当前回答

I recently had trouble with this, and regardless of what I did(restart adb, edit adb_usb.ini, restart computer+device+swap usb port, reinstall studio etc. etc.) I just couldnt get it to work, and could not even detect my device using 'adb devices'. Finally after about 2 hours of googling and testing, someone suggested switching to PTP instead of MTP on my device. When I did this I got a popup on my device asking me to allow my mac access and suddenly everything worked(had to restart studio for it to show up there as well though).

我现在可能会碰到这个线程,但它是谷歌搜索的第一个结果,我有很多麻烦找到这个问题的答案,所以我认为这应该作为一个解决方案添加。

其他回答

如果有人对三星GT-I9060有问题,我在SO上遵循了这个答案:

如果你在windows上,很多时候它将无法识别该设备 完全由于驱动程序问题,设备不会显示。 进入设置 控制面板 硬件和声音 设备管理器 并查找任何显示错误的设备。许多机器人会显示为 未知的USB设备。选择该设备并尝试更新 驱动因素。

我卸载了设备,拔下设备,再插上。这一次Windows正确地安装了驱动程序。真扫兴。

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

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

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

这对我来说很管用:

windows 10。 Android Studio 4.1。 三星galaxy a50。

在Android Studio中这样做: 文件设置-语言和框架-颤振。 然后指向你电脑中你颤振的存储位置,比如: C:例如\Desktop\Flutter。

希望能有所帮助。: D

在Windows 7上,唯一对我有用的就是这个。 进入设备管理器->在Android手机下->右击并选择“启用”

已经有很多答案了,但我刚刚下载了一个运行O的模拟器,在那之后,任何设备都再也不能工作了。我删除了模拟器从AVD管理器杀死adb,然后重新启动Android工作室。将USB移动到另一个端口,设备又在那里了。