Xamarin Android Emulator not showing virtual devices in debugger list

gagrim808 106 Reputation points
2021-10-19T09:40:33.527+00:00

I am new to Xamarin. Everything was going fine, until my debugger list got 'bugged' and now it is not showing the virtual devices in the list -

141677-screenshot-15.png

The device is running fine, but it is not appearing in the list.

NOTE:

  1. This probably happened after I enabled my Hypervisor platform and Windows Machine Platform.
  2. I got some pop-up windows with errors like - ADB binary is obsolete, Could not get AVD of emulator
  3. In 'Build' output, it showed "The debug was canceled. Please create a device emulator to start debugging."

I have tried :

  1. Re-creating my project
  2. Re-creating the device
  3. Re-installing the 'MOBILE DEVELOPMENT WITH .NET'
  4. Disabling the Hypervisor and Machine Platform
  5. Updating SDK
  6. Repairing Visual Studio

Help would be highly appreciated.

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JarvanZhang 23,971 Reputation points
    2021-10-20T02:42:36.727+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Hi, gagrim808-4020. Do you change the adb installed location? Please make sure the Android SDK can connect the emulators. To verify emulator connectivity, you could refer to this doc: https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/troubleshooting?pivots=windows#deployment-errors

    You could also try restarting the adb server: Tools > Android > Restart Adb Server.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.