Android Studio 模拟器:不工作

Android Studio Emulator: not working

因此,当我尝试通过 Android 虚拟设备管理器 运行 我的模拟器时出现此错误。

emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.
HAXM is not working and emulator runs in emulation mode
emulator: AVD      RAM size = 1536 MB
emulator: HAXM max RAM size = 1024 MB 

有人可以告诉我如何调整 AVD RAM 大小 and/or HAXM 配置来使它工作吗?或者我该怎么做才能解决这个问题?

我明白了!!!! 您需要通过 运行 文件重新安装 HAXM。转到 sdk 存储目录并按照以下步骤操作:

tools>extras>intel>haxm and run the executables silent.bat and install.exe. but make the memory allocated to greater than 1536MB i.e 1.9 GB.

另一种方式可以是:

  1. Goto Android virtual device manager and add a new device
  2. Setup a new device with memory lesser than 1024 MB. But you can still use your preferred android version but you need to compromise with the device. choose device with minimum screen resolution.