无法在模拟器中启动 AVD:hax_slot_insert
Cannot launch AVD in emulator: hax_slot_insert
我知道其他人也有类似的问题,但我的问题有点不同。
当我尝试启动我的 AVD 时,我几乎立即收到一个弹出窗口说 "qemu-system-i386.exe has stopped working"。当我退出弹出窗口时,我收到一条消息:
"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."
我不知道该怎么办。
如果有帮助,我正在模拟 Nexus 6P 运行 Lollipop 5.1 x86(使用 Google API)。我将机器设置为 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
。那么它的结果应该是上面提到的错误。
我知道其他人也有类似的问题,但我的问题有点不同。
当我尝试启动我的 AVD 时,我几乎立即收到一个弹出窗口说 "qemu-system-i386.exe has stopped working"。当我退出弹出窗口时,我收到一条消息:
"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."
我不知道该怎么办。
如果有帮助,我正在模拟 Nexus 6P 运行 Lollipop 5.1 x86(使用 Google API)。我将机器设置为 4GB RAM、786MB VM 堆和 4GB 内部存储。
有用的注释:
If you are specifying
1024 MB RAM
then you have to specify the device screen size ishdpi
only and if it is512 MB RAM
then it should bemdpi
or other.
结论:
从上面的注释我们已经明确的说RAM Size
应该根据屏幕大小来指定。如果您指定 1024 MB RAM
大小,同时保持设备屏幕大小为 mdpi
。那么它的结果应该是上面提到的错误。