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

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.

标签:memory,avd,ram,haxm,android
来源: https://codeday.me/bug/20191119/2037607.html