在Android Studio中启动AVD的问题

时间:2016-11-25 14:34:56

标签: android-studio android-studio-2.2 avd

我已经安装了Android Studio并尝试为示例应用程序启动AVD。我在启动AVD时遇到以下错误。我使用的是Android Studio 2.2.2。解决此问题的解决方法是什么?

Cannot launch AVD in emulator.
Output:
init: Could not find wglGetExtensionsStringARB!
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
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
Failed to sync vcpu reg
Failed to sync vcpu reg
Failed to sync vcpu reg
Internal error: initial hax sync failed

2 个答案:

答案 0 :(得分:2)

检查Docker是否正在运行。如果是这样,退出Docker。 见https://forums.docker.com/t/cant-using-docker-for-mac-with-android-emulator-haxm/8939

答案 1 :(得分:1)

对我而言,VirtualBox与运行emulator相矛盾。在杀死VirtualBox后,我能够运行emulator