How To Run Andriod Emulators in Azure Virtual Machines?
To Andriod Emulators in Azure Virtual Machines, Intel HAXM should be installed and present.
At the same time, Intel HAXM and Hyper V are mutually exclusive. This means if you have Hyper V enabled then HAXM can’t be installed and vice versa.
Installation of HAXM on Azure VM is not a problem. The VM series is a problem. When you say I want to install the HAXM, Hyper V should be disabled. Most of the VM series today have Hyper V “some way” enabled or not supported.
Remember Azure Virtual Machines itself is a VM. Means it is based on Hyper V behind the scene already. Now on top of this VM, you want to install another Hypervisor – either HAXM or Hyper V. The only series that supports the Hyper V on Azure VM itself is Hyperthreaded VMs – Dsv3 and Esv3 series or Dv3 and Ev3 series.
This Azure VM series support nested virtualization because it supports running Hyper V on top of it or running any other hypervisor on top of it. Therefore installation of HAXM on Azure VM will succeed only on these Azure VMs and others will fail.
So now we need an Andriod Emulator with Hyper-V Enabled, as of today the only emulator that supports Hyper-V is Bluestacks. They have some separate versions for Hyper-V Enabled Machines. You can check their release notes here.
Prerequisites:
- Operating System: Microsoft Windows 10 (only for Windows version 1903 and above)
- Processor: Intel or AMD Processor
- Memory: At least 2GB of RAM (Note that having 2GB or more disk space is not a substitute for memory)
- Disk space: At least 5GB free disk space
- Virtualization should be enabled on your PC/laptop.
- Hyper-V should be enabled on your system.
- You need an Azure account. (I gonna use Azure)
Post a Comment