Android Studio 运行 应用太晚了

Android Studio Running app is too late

我在尝试使用模拟器 运行 我的应用程序时遇到问题,它已经运行了 2 小时,直到现在才启动 并打印了此消息

emulator: device fd:892
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 = 1536 MB
emulator: HAXM max RAM size = 512 MB
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
creating window 43 59 329 583
emulator: emulator window was out of view and was recentered
emulator: UpdateCheck: current version '24.4.0', last version '24.4.0'

当您使用 AVD 创建模拟器时,请选择高级设置并将 RAM 更改为 1536MB。或者以同样的方式编辑您当前的设备。

我猜你说“2 小时”有点夸张。

模拟器的第一个 1536 MB Ram 太多了。您可以将其减少到 512 或更低。另外,我建议您使用 GenyMotion,它比标准 android 模拟器(至少是我的 i3 设备)更快、更有用。

使用 GenyMotion,我在 1-2 分钟内创建了 320x480, Jell Bean 具有 512 MB RAM 的模拟器。