Why the HAXM configuration memory is too low “969 MB”? It is not compatible with AVD API level 23 which require 1 GB RAM

白昼怎懂夜的黑 提交于 2019-12-02 00:02:25

问题


This is the error messages shown in Android Studio 1.4 console

emulator: WARNING: Increasing RAM size to 1GB
emulator: device fd:560
HAXM is not working and emulator runs in emulation mode
emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.
emulator: AVD      RAM size = 1024 MB
emulator: HAXM max RAM size = 969 MB
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
Cannot set up guest memory 'pc.ram': Invalid argument

回答1:


You should run HAXM installer from <android-sdk-location>/extras/intel/Hardware_Accelerated_Execution_Manager/ and during installation set amount of RAM available to HAXM to 1024 MB or more.

If there is not extras/intel directory then launch Android SDK Manager, go to Extras, select Intel x86 Emulator Accelerator (HAXM Installer) and press Install.




回答2:


It is the first time you try to open the emulator, in my experience why i receive that warning its because i saturate the memory with others app, make sure you close other instances and clear the memory.

Other thing you can try its in the menu of AVD Manager, in the advanced settings increase the memory RAM of the virtual device you have configured.

I hope this can help you.



来源:https://stackoverflow.com/questions/32973966/why-the-haxm-configuration-memory-is-too-low-969-mb-it-is-not-compatible-with

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!