Android Studio doesn't see device

后端 未结 30 2249
南方客
南方客 2020-11-22 14:44

The AVD Manager in Android Studio doesn\'t show my device but adb devices does show it. Am I missing something obvious here?

相关标签:
30条回答
  • 2020-11-22 15:23

    There are many reasons why Android Studio doesn't see mobile phone.

    One of them is a problem with ADB Interface driver. You can check it in your Device Manager:

    If you don't have ADB Interface driver, then use this guide to install it for Intel chipset: Installing the Android Debug Bridge (ADB) USB Driver on a Windows Computer.

    If you have other, but not Intel, then try to search for the driver on manufacture's web-site.

    For Xiaomi phones, turn off MIUI optimization in the very bottom of Developers mode menu.

    0 讨论(0)
  • 2020-11-22 15:25

    if your device version in 9 then

    Go to SDK Tools and Update Sdk same Version and Intstall Google USB Driver

    0 讨论(0)
  • 2020-11-22 15:27

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

    I might be bumping this thread now, but it is the first result on google search, and I had a lot of trouble finding an answer for this problem, so I thought this should be added as a solution.

    0 讨论(0)
  • 2020-11-22 15:27

    My Nexus 5 phone did not have developer options in the settings menu. I had to do the following:

    On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

    0 讨论(0)
  • 2020-11-22 15:27

    After u turn on debug mode open settings/Developer options Update config same image

    0 讨论(0)
  • 2020-11-22 15:28

    In my case the following steps helped to resolve the issue:

    1) Ensure the package "Google USB Driver" is installed in Android SDK Manager

    2) Download "ADB Driver Installer 2.0" from here

    3) Run the tool downloaded and connect your smartphone; in my case it showed that the driver had been installed incorrectly and suggested to fix it

    After those steps my Android Studio instantly recognised the device! Both MTP and PTP started to work.


    Tested for Samsung (Android 4.1.2) and Xiaomi MI4W (Android 4.4.4)

    0 讨论(0)
提交回复
热议问题