我正在尝试在 Android Studio 上运行模拟器,但它没有启动。
我有 Android studio(版本 23 marshmallow),配置有
minSdkVersion 21
targetSdkVersion 23
当我在仿真(nexus 5x api 23 android 6.0)中运行我的应用程序时,我收到以下错误:
Error while waiting for device: The emulator process for AVD Nexus_5X_API_23 was killed.
有人可以帮我解决这个问题吗?
最佳答案
如果您查看 4: Run
日志,它会显示:
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)
在我的例子中,有一个 VirtualBox docker 实例正在运行,一旦我停止它,模拟器就开始工作了。
关于android - 模拟器未在 Android Studio 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37281365/