android - 模拟器未在 Android Studio 上运行

标签 android emulation android-6.0-marshmallow

我正在尝试在 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/

相关文章:

android - Robolectric + Mockito + Marshmallow + 权限

Android - PX 到 DP - 布局高度错误

java - E/Android运行时: FATAL EXCEPTION: Firebase-MyFirebaseMessagingService Android Studio

Android RecyclerView : IndexOutOfBoundsException: Inconsistency detected

c# - Visual Studio 无法识别 MvxFragment 的 BindingInflate 函数

ios - 智能脸 4.3.0。 IOS 模拟器错误

android - 在 Marshamallow 6.0 上使用 Android studio 2.2 进行缓慢调试

iphone - 适用于 iPhone、iPad 和移动浏览器的模拟器

C++将高分辨率时钟与固定数字进行比较

android - 关闭 CipherInputStream 时出现 RuntimeException