‘initial hax sync failed’ 라고 뜨면서 AVD 실행되지 않을때 해결방법에 대해 알아보겠습니다.

Issue : ‘initial hax sync failed’ 라고 에러가 뜨면서 AVD가 실행되지 않을때

어느 순간부터 아래와 같이 에러가 뜨면서, AVD 가 실행되지 않는 문제가 발생했는데, 그냥 실기기 테스트로 알아보다가 찾아보니까, Docker가 문제였습니다.

img

Source)

/Users/jungwoon/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_22
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5554
Failed to sync vcpu reg
emulator: Serial number of this emulator (for ADB): emulator-5554
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

Solution : Docker를 종료합니다. docker를 실행한 상태로, AVD를 실행하면, AVD가 실행이 안되므로 docker를 종료하고 실행해야 합니다.

img