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