I hope using Docker and Android Emulator same time.
Actual behavior
I can’t using both same time.
but I can using Parallels Desktop and Android Emulator
Information
I did run Android Emulator in Android Studio
and I got error messages…
emulator: WARNING: VM heap size set below hardware specified minimum of 256MB
emulator: WARNING: Setting VM heap size to 384MB
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
console on port 5554, ADB on port 5555
Failed to sync vcpu reg
emulator: ERROR: Unfortunately, there’s an incompatibility between HAXM hypervisor and VirtualBox 4.3.30+ which doesn’t allow multiple hypervisors to co-exist. It is being actively worked on; you can find out more about the issue at Report and track bugs | Android Open Source Project (Android) and #14294 (Cannot launch both VirtualBox virtual machine and HAXM at the same time -> fixed in HAXM, see last comments) – Oracle VirtualBox (VirtualBox)
Failed to sync vcpu reg
Failed to sync vcpu reg
Internal error: initial hax sync failed
Is this viable once Docker left VirtualBox behind and adopted xhyve? Can Apple’s Hypervisor.framework be tamed to behave properly (I don’t know enough to say if this is feasible)?
I’d love to see this issue, if possible, solved, as this is a great opportunity to enable android development alongside a full-stack solution using Docker, and I hate to install tons of services on my machine or have tons of servers to debug every single bug! Docker is so much better to have at hand!
The SDK Manager will download the installer to the “extras” directory, under the main SDK directory. Even though the SDK manager says “Installed” it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the “extras” directory to finish installation.