模拟器无法启动

emulator cannot start up

我只是安装了 HAXM 安装程序和 Android SDK 工具,我的 AVD 终于可以启动了。但问题是它卡在 android 上。等了20分钟还没开机..

emulator: device fd:664 HAXM is working and emulator runs in fast virt mode creating window 61 83 462 820 emulator: UpdateCheck: current version '24.4.1', last version '24.4.1'

Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device connected: emulator-5554 Device connected: emulator-5554

正常吗?设置需要多长时间?我错过了安装什么吗?谢谢

增加模拟器的内存。 1.In android studio 转到工具--->AVD 管理器 2. 然后单击编辑按钮(绿色蜡笔)并单击"show advanced settings"。

只是添加到 j2emanue 的答案中,如果您使用命令行启动模拟器,您可以指定 -memory 选项。来自 emulator -help 命令:

-memory <size> : physical RAM size in MBs

所以你可以:

emulator -avd <avd_name> -memory 1024