none
Use Android Studio's emulator for running a Xamarin Form project? RRS feed

  • Question

  • It seems that Visual Studio comes with its own Android emulator that tries to use Hyper-V. But I already have Android Studio installed which has an Android emulator, for which I have created a few AVD's that use Google's AMD hypervisor driver (sort of like Intel's HAXM, but for AMD CPU's) which do not use Hyper-V.

    Is it possible to use those AVD's for running a Xamarin Form project with Visual Studio? It seems that those AVD's show up in the emulator list, but Visual Studio says Hyper-V is not installed.

    Wednesday, March 11, 2020 8:29 AM

All replies

  • Hi friend,

    Welcome to MSDN forum.

    >> Is it possible to use those AVD’s for running a Xamarin Form project with Visual Studio?

    ## If you meet other requirements, yes, it is possible to use them with Visual Studio.

    >> but Visual Studio says Hyper-V is not installed.

    ## According to Visual Studio’s error message, it seems you don’t meet some requirements which allow you to use Hyper-V. You need to check aspects below and verify that your computer hardware and software is compatible with Hyper-V by opening a command prompt and type “systeminfo”. If all listed Hyper-V requirements have a value of Yes, then your computer can support Hyper-V.

    #1. For your computer hardware, you need a 64-bit Intel or AMD Ryzen CPU with Second Level Address Translation(SLA).

    #2. Enable the following items in your computer’s BIOS: Virtualization Technology(may have a different label depending on motherboard manufacturer). And Hardware Enforced Data Execution Prevention.

    #3. Your computer must be updated to Windows 10 April 2018 update (build 1803) or later.

    You could refer more detailed information from this official document: Hardware acceleration for emulator performance (Hyper-V & HAXM).

    Hope all above could help you and any feedback will be expected.

    Kind Regards,

    Tianyu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 12, 2020 2:17 AM
  • Hi friend,

    Sorry to bother you.

    Is this issue still persists? Do you have any update? If yes, feel free to contact us.

    Any feedback will be expected.

    Best Regards,

    Tianyu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 13, 2020 9:31 AM