1

当我尝试在 Android Studio 中启动模拟器时收到以下错误消息

emulator: WARNING: Crash service did not start
emulator: WARNING: Increasing RAM size to 1024MB
emulator: WARNING: VM heap size set below hardware specified minimum of 384MB
emulator: WARNING: Setting VM heap size to 384MB
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
qemu-system-i386.exe: -drive if=none,index=1,id=cache,file=C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img: could not open disk image C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img: Could not open 'C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img': Invalid argument

现在我无法启动模拟器。我该如何解决这个问题?

4

2 回答 2

1

1)检查你的 Haxm 大小设置为大于 1024MB
2)将 Avd Ram 大小减少到 756MB

试试这两点;

于 2016-06-04T09:21:48.427 回答
0

使用 756 RAM 安装 HAXM:

sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -u
sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -m 756
于 2019-12-28T18:25:07.347 回答