android-为什么HAXM配置内存太低“ 969 MB”?它与需要1 GB RAM的AVD API级别23不兼容

这是Android Studio 1.4控制台中显示的错误消息

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

解决方法:

您应该从< android-sdk-location> / extras / intel / Hardware_Accelerated_Execution_Manager /运行HAXM安装程序,并在安装过程中将HAXM可用的RAM量设置为1024 MB或更多.

如果没有Extras / intel目录,请启动Android SDK Manager,转到Extras,选择Intel x86 Emulator Accelerator(HAXM Installer),然后按Install.

上一篇:Android Studio,模拟器,HAXM,VT-x无法正常工作


下一篇:AndroidStudio:由于Intel HAXM错误,无法运行AVD