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.
- Google’s official Android Studio is at version 1.0
- Compile Android Java, iOS Objective C apps for Windows 10 with Visual Studio: a game changer?
- Microsoft disabling USB AutoRun in Windows 7 RC
- Official Google Android Studio is based on JetBrains IntelliJ IDEA
- Embarcadero RAD Studio XE5 (Delphi) for Android now available