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).

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

其他回答

由于驱动程序无法加载,我无法在windows 7上连接到我的设备。我遵循以下步骤:

从Intel网站下载Android USB驱动程序 安装驱动程序并重新启动系统 连接你的设备,它工作了

在我的案例中,以下步骤有助于解决这个问题:

1)确保Android SDK管理器中安装了“谷歌USB Driver”软件包

2)从这里下载“ADB驱动安装程序2.0”

3)运行下载的工具,连接智能手机;在我的例子中,它显示驱动程序安装不正确,并建议修复它

在这些步骤之后,我的Android Studio立即识别了设备!MTP和PTP都开始工作了。


三星(Android 4.1.2)和小米MI4W (Android 4.4.4)测试

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).

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

检查设备驱动程序 如果您的设备是Galaxy安装Kise将搜索您的驱动程序

就我而言,我知道这很蠢,但我必须这么做。

我尝试了以上所有的解决方案,没有一个有效。t射击的一个关键是当adb设备不会列出该设备时,那么您就知道您还没有烹饪气体。

在设备通过adb注册为设备之前,在USB模式之间切换不会有效果。你会知道什么时候发生,因为你会得到一个关于RSA密钥的提示。

这是一个相对较新的Windows 7安装。在手机的USB通知区,我切换到“安装驱动程序”,让它安装我的adb驱动程序。在我的情况下,我永远不会在互联网上得到任何合法的东西。

一旦我看到成功安装,我切换到PTP,它就工作了。