android - 无法在模拟器 : hax_slot_insert 中启动 AVD

标签 android android-emulator

我知道其他人也有类似的问题,但我的问题有点不同。

当我尝试启动我的 AVD 时,我几乎立即收到一个弹出窗口,提示“qemu-system-i386.exe 已停止工作”。当我退出弹出窗口时,我收到一条消息:

"Cannot launch AVD in emulator. Output: Hax is enabled Hax ram_size 0x100000000 HAX is working and emulator runs in fast virt mode. hax_slot_insert: Failed to set memory mapping (err=-14) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."

我不知道该怎么办。

如果有帮助,我正在模拟运行 Lollipop 5.1 x86(使用 Google API)的 Nexus 6P。我将机器设置为 4GB RAM、786MB VM 堆和 4GB 内部存储。

最佳答案

有用的注释:

If you are specifying 1024 MB RAM then you have to specify the device screen size is hdpi only and if it is 512 MB RAM then it should be mdpi or other.

结论:

从上面的注释中我们已经明确指出 RAM Size 应该根据屏幕大小指定。如果您指定了 1024 MB RAM 大小,同时保持设备屏幕大小为 mdpi。那么它的结果应该是上面提到的错误。

关于android - 无法在模拟器 : hax_slot_insert 中启动 AVD,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37266274/

相关文章:

android - 如何在 webview android 6 中打开 pdf

android - 墙纸因错误而崩溃 - queueBuffer : error queuing buffer to SurfaceTexture

android - 元素 LinearLayout 没有必需的属性 layout_height

android - Android 中的持久/离线图像缓存

android - 如何为 320dp 和 360dp 创建布局?

android - 模拟器 : WARNING: HAXM 6. 0.5 已安装。请安装 HAXM >= 6.2.1 以修复 Mac 上的兼容性问题

java - Android模拟器不显示存储的图像

android - 蓝牙低功耗通知间隔

visual-studio-code - Flutter 删除/删除模拟器

android - 找不到 Android 7.1.1 (Nougat) API 25 ARM 系统镜像