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

时间:2015-10-06 15:33:37

标签: android memory avd ram haxm

这是 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

2 个答案:

答案 0 :(得分:3)

您应该从<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

答案 1 :(得分:0)

这是您第一次尝试打开模拟器,根据我的经验,为什么我收到警告,因为我使用其他应用程序使内存饱和,请确保关闭其他实例并清除内存。

您可以在 AVD Manager 的菜单中尝试其他内容,在高级设置中增加虚拟设备的内存 RAM 已配置。

我希望这可以帮到你。