DRYな備忘録

Don't Repeat Yourself.

Androidエミュレータが起動しない: Internal error: initial hax sync failed

問題

エミュレータが起動しない。さっきまで動いていたのに。←重要

f:id:otiai10:20160603221831p:plain

エラー全文

/Users/otiai10/Library/Android/sdk/tools/emulator -avd ReactNativeTest
emulator: WARNING: VM heap size set below hardware specified minimum of 256MB
emulator: WARNING: Setting VM heap size to 512MB
Hax is enabled
Hax ram_size 0x80000000
HAX is working and emulator runs in fast virt mode.
console on port 5554, ADB on port 5555
Failed to sync vcpu reg
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 http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)
Failed to sync vcpu reg
Internal error: initial hax sync failed

原因

エラーメッセージをちゃんと読んでなかった

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 http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)

VirtualBoxAndroidエミュレータは今んとこ同時に動かせないっぽい?

解決

VirtualBox止めた

DRY