Windows 10: Hyper-V Android emulator support in Windows 10

  1. Brink's Avatar
    Posts : 32,223
    64-bit Windows 10 Pro build 18242
       08 May 2018 #1

    Hyper-V Android emulator support in Windows 10


    Today, at Build 2018, we announced a preview of the Google Android emulator thatís compatible with Hyper-V, available on the Windows 10 April 2018 Update. This enables developers with Hyper-V enabled on their machines to use a hardware accelerated Android emulator, without needing to switch to Intelís HAXM hypervisor. Amazing work was done by the Windows Hyper-V team, with help from the Xamarin team, to make to this happen.

    Todayís preview means you can use Googleís Android emulator side-by-side with other Hyper-V based technologies, including Hyper-V VMs, Docker tooling, the HoloLens emulator, and more. This means that any Android developer on Windows, who also uses Hyper-V, can use a fast Android emulator that will always support the latest Android APIs, works with Google Play Services out of the box, and works with all features in the Android emulator, including camera, geolocation, and Quick Boot.



    Try the preview

    The Windows Hypervisor Platform was introduced in the Windows 10 April 2018 Update and enables third-party virtualization stacks to utilize the Windows Hypervisor for hardware acceleration. If you are using Hyper-V, this stack replaces Intel HAXM as the hypervisor for the Android emulator.

    Support for using the Windows Hypervisor as an accelerator for the Android emulator is currently in preview and requires the Windows 10 April 2018 Update. Here are the steps to get it installed.

    1. Enable Hyper-V and the Windows Hypervisor Platform

    Open Turn Windows features on or off and select Hyper-V and the Windows Hypervisor Platform checkboxes. For these features to take effect, you will need to restart your machine.



    2. Install the Visual Studio Tools for Xamarin preview

    To enable IDE support for the Android emulator, such as debugging, you must install an updated preview of the Visual Studio Tools for Xamarin. First, ensure you have Visual Studio 2017 version 15.8 Preview 1 or higher with the Mobile development with .NET (Xamarin) workload installed.

    Download and open the preview installer. Click Install.

    3. Update to Android Emulator 27.2.7 or above

    In Visual Studio, select Tools > Options > Android > Android SDK Manager. Click the Tools tab, select the Android Emulator component, and select Apply Changes.



    4. Start debugging!

    Now when you debug your Android apps, you can use the latest Android SDKs in a fast emulator, right from Visual Studio alongside Hyper-V based technologies like Docker.

    Share your feedback

    We need your help to make using the Google Android emulator with Hyper-V an amazing experience. Be sure to share your feedback in Visual Studio by going to Help > Send Feedback > Report a Problem if you experience any problems or strange behavior. Please provide the following information in your bug report:

    • Android emulator log Ė In Visual Studio, open the Output window and select the Debug output pane.
    • Android emulator configuration file Ė In File Explorer, navigate to %HOMEPATH%\.android\avd\ and attach the configuration settings file (.ini) for the Android emulator.
    • System Information Ė Open System Information and click File > Export.

    For more information on configuring the Hyper-V emulator, and for a listing of known issues, visit our documentation.

    Miguel


    Source: Hyper-V Android emulator support | The Visual Studio Blog
      My ComputersSystem Spec

  2. slicendice's Avatar
    Posts : 3,434
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       08 May 2018 #1

    OH!

    Thanks for this info. Not that there's anything wrong with Intel HAXM, but it's great that compatibility is built into Windows itself.
      My ComputersSystem Spec

  3.    05 Jun 2018 #2

    Is this something that will now allow emulators like BlueStacks, Nox, Memu or KOplayer to work on a windows 10 machine with Hyper-V installed and Windows Hypervisor Platform enabled?
      My ComputerSystem Spec

  4. slicendice's Avatar
    Posts : 3,434
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       05 Jun 2018 #3

    itgl72 said: View Post
    Is this something that will now allow emulators like BlueStacks, Nox, Memu or KOplayer to work on a windows 10 machine with Hyper-V installed and Windows Hypervisor Platform enabled?
    No, it's an emulator for software development, intended to be initialized and run from within VisualStudio. The emulator part is just emulation of input/output devices like touch, and hardware like GPS, tilt sensors etc... The rest is a full fledged virtual machine.

    BlueStacks and all the others are completely separate emulator platforms and can't be compared since their intended use is completely different from what we are looking at here.
      My ComputersSystem Spec


 

Related Threads
I wonder how many are aware of Teamviewer Quick Support that allows certain supported models of android/mobile phone to be FULLY remote controlled from a PC or even another phone/tablet. Supported phones (newer models mostly) are Samsung...
Been having issues trying to run an Android emulator (Bluestacks, Nox, Memu amongst others) with them all giving a BSOD. I was puzzled because I found if I did a clean install it worked ok. Finally, it dawned on me that it might be related to...
BSOD when running Android emulator in BSOD Crashes and Debugging
Well, I have been getting BSODs every now and then when running Nox android emulator on my machine... I used to be able to run many simultaneous instances of it at once, but now I can barely open 2 without a BSOD. Any idea of a fix would be really...
Hello, i am having trouble installing the Windows 10 mobile emulator for Visual Studio 2015 First I got this message when I attemped to install the first time (see screenshot 1) Dropbox - install microsoft emulator 1st try.PNG So I went...
Read more: Windows 10 Mobile Emulator build 10586 begins its roll out
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:29.
Find Us