Visual Studio and Android Device Monitor doesn't detect any devices

33,934

Solution 1

You most likely did not grant access to the device. Try to go into the developer settings on the smartphone and revoke the USB debugging authorisation. Then connect the phone to the pc and and wait for a popup on the phone which you should accept. After accepting you should see your device with adb devices.

You can also try to set the connection mode to MTP (instead of the camera PTP).

Hope it helps!

Solution 2

Enable the device for development

Goto: Device > Settings > Developer Options > tick USB debugging

Solution 3

Sometimes just restarting Visual Studio might help

Solution 4

Try the this: 1 - Close Visual Studio 2 - connect your device 3 - Restart visual studio with the device already connected by usb (with the device options checked)

Solution 5

I had the same issue after updating Visual Studio found that in recent versions is better if you open VS in administrator mode to properly work, this should fix the problem.

Share:
33,934
Rico
Author by

Rico

Updated on July 09, 2022

Comments

  • Rico
    Rico almost 2 years

    I've just installed VS2015 Community with Xamarin to develop some mobile apps. The problem is, I can't achieve debugging Android apps on any device. Android Device Monitor shows empty list. I tried connecting different phones, which I know are detected on my friend's PC. I can explore their files from windows explorer, from there computer sees them.

    • USB Debugging on the phone is turned on.
    • USB connection mode is set to camera, no change at all.
    • I have Google USB driver installed in Android SDK manager.
    • I tried adb kill-server, adb start-server. Nothing changed. adb devices shows empty list.

    This is device manager while Developers options are disabled on the phone. enter image description here And here with enabled Developers options enter image description here I also tried updateing driver to google usb driver, but windows said it's up to date.

  • Rico
    Rico almost 8 years
    USB debugging is on. I read about MTP, but can't find it on my phone (Huawei P8, Android 5)
  • c0delama
    c0delama almost 8 years
    Have you tried revoking the authorisation and reconnecting your phone?
  • c0delama
    c0delama almost 8 years
    Did you accept the dialog in the first answer of this question? stackoverflow.com/questions/15053463/…
  • Rico
    Rico almost 8 years
    Yes, several times
  • c0delama
    c0delama almost 8 years
    Is your smartphone properly installed (with AND without developer settings enabled) and are there errors in the windows device manager?
  • c0delama
    c0delama almost 8 years
    Please google for proper Huawei P8 drivers (you need normal Windows drivers as well es ADB drivers). After that the exclamation marks in the device manager will disappear and you will get the desired prompt on your smartphone.
  • Rico
    Rico almost 8 years
    Ok, there was no direct clue on Huawei site, but I find application called HiSuite and after instaling it, Huawei P8 is visible on Android Device Manager. Thanks for support. :)
  • c0delama
    c0delama almost 8 years
    With installing the HiSuite you also installed the drivers ;) Please accept my answer, thanks.
  • Steve Wellens
    Steve Wellens almost 8 years
    I had the same issue. I fixed it by right clicking the device in the device manager and selecting Update Driver.
  • PLOW
    PLOW over 7 years
    Even though Windows 10 automatically install the drivers, it didn't work. I had to install drivers from the manufactures to get my physical device to show in Visual Studio
  • Bruno
    Bruno over 5 years
    If you enable the developer options for the first time, this option will be disabled by default, so, in order to get it working again, you need to Enabled it again. This solution worked for me.
  • Richard Hammond
    Richard Hammond over 5 years
    Of course! Why didn't I think of that!!?!! A reboot to solve a software problem!! How original!!!! ... and unusual!!!!!!!!!!
  • Winteriscoming
    Winteriscoming almost 3 years
    @c0delama you are my hero!
  • Vladimir
    Vladimir about 2 years
    On my Huawei P30 Pro this is in Settings -> System & updates -> Developer options -> USB debugging. The solution works