How to run Android Studio on Windows without disabling Hyper-V

If you run Windows and use the Hyper-V hypervisor, which is used by Visual Studio as well as being handy for testing stuff in virtual machines, then you will encounter an annoyance if you go on to install Android Studio, Google’s official IDE for Android.

The problem is that Google’s Android emulator uses Intel’s HAXM (Hardware Accelerated Execution Manager) which uses the same CPU virtualization extensions as Hyper-V. This means it is incompatible. It is not only that you can’t run Hyper-V and HAXM simultaneously; the PC has to be configured at boot to use one or the other.

The solution (if you do not want to disable Hyper-V) is to use Microsoft’s Android emulator, which is a free download here.


In order to use this with Android Studio, you need to run the emulator first. Then, in Android Studio, go to Run – Edit Configurations and select Show Device Chooser Dialog under Deployment Target Options.


Now run your project, and select the VS Emulator, ignoring the invitation to “Turn off Hyper-V”:


Now you can debug your application in the Visual Studio Emulator – which is pretty good.


5 thoughts on “How to run Android Studio on Windows without disabling Hyper-V”

  1. Thanks for this.

    I run Windows/VS Studio in Parallels on a Mac. There are no solid Android emulation options (best is setting up Parallels x86 environment).

    Looks like I will have to use Xamarin Studio on Mac side but post merger not sure I can get Xamarin Studio anymore without a MSDN subscription

    Would be nice if MS could come up with a solid solution for doing Android dev on a Mac using VS studio. Not holding breath.


  2. Thanks for the post. I am running two emulators on my machine, but I don’t see them in the “Select Deployment Target” dialog box. What could have gone wrong? I can play around with the emulators fine.

    Thanks & Regards,

      1. I too am experiencing this problem. I followed your link. I’ve installed the Visual Android Emulator and Android Studio. I don’t have HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK in my registry. What should I use? I tried setting my SDK Location in this key that I did find: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudioEmulator\Android\LaunchPath, but that didn’t work.

        1. FYI, I can now answer my own question. If the key is not there, you need to create it, then it will work. For example, I added:
          Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Android SDK Tools\Path
          value: Android > SDK Manager: Android SDK Location.

Leave a Reply

Your email address will not be published. Required fields are marked *