Android Studio doesn't see device

后端 未结 30 2336
南方客
南方客 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:43

    If you use Samsung you can download and install the device driver from Samsung.

    Note

    1. You need to enable ADB mode(Like the eleventh comment)

    2. You need to set Target in Android Studio to "Open Select Deployment Target" Dialog. To set Target : Run > Edit Configurations > Targets > Open Select Deployment Target Dialog

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

    I know it sounds crazy but i just reboot my phone while was connected and it appears

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

    Try changing mode of usb connection to midi devices. Thats what worked for me.

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

    After spending some time I found the problem was to enable USB debugging option to on. Just find in your mobile Settings->Developer Option->USB debugging. Just enable it and it works. It might help someone!

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

    Be sure that you have downloaded the correct API for the version you device is using. After updating your device's Android version or switching to a different device you may not have the correct API downloaded on Android Studio. To do this:

    1. Check your devices Android OS version by going to Settings>About Phone>Android Version

    2. Make sure you have the correct API installed in Android Studio in the SDK Manager

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

    while doing all this don't forget to increase the sleep time, so that if the device prompts for authentication on the mobile device you know that the connection is succeeded.

    Try 1:

    1. Install "microsoft universal c runtime".
    2. Download the file as per your OS (operating system.)
      https://support.microsoft.com/en-in/help/2999226/update-for-universal-c-runtime-in-windows

    Installing Google USB Driver from Developersdeveloper.android.com didn't work for me.

    Try 2:

    1. search "androidmtk" and install driver installer. (restart pc) (check whether device is showing)
    2. Else search "adbdriver" and install driver installer. (restart pc) (check whether device is showing)

    Try 3:

    • Check out whether in Android studio's status bar (displayed at the very bottom of window), any message has been shown. Do the changes suggested in the message.

    Try 4:

    • Check whether device is shown after changing the connection type (mostly shown on dragging the top bar on home screen).
    • i.e. "Charging only", "Transfer files", "Transfer photos PTP or MTP"

    Try 5:

    • Go to Android "Tools menu"->"SDK manager"->
    • Below "Android SDK location" you will see 3 tabs.
    • Out of it click on "SDK tools" and in the list find and tick-mark "Google USB drivers" and install the package.
    • Restart the computer.
    0 讨论(0)
提交回复
热议问题