安卓4.0.3仿真器崩溃:无法分配内存:8仿真器、分配、内存

2023-09-05 07:10:32 作者:花开花落谁相惜

这个问题开始时,我改变了内置的显示设置,以WXGA720皮肤。 然后,每次我试图运行仿真器,它说了以下消息:

The problem started when I changed the skin built-in display setting to WXGA720. Then everytime I'm trying to run the emulator it says the following message:

启动模拟器的AVDandroid403   无法分配内存:8   此应用程序已请求运行时终止它以一种不寻常的方式。   请联系应用程序的支持团队以获取更多信息。

Starting emulator for AVD 'android403' Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

我已经尝试过,降下RAM大小为800 MB,然后512 MB(甚至是256),但它也不能工作......

I already tried to lower down the RAM size to 800 MB and then 512 MB (or even 256) but it didn't work either...

我不知道该怎么办......

I don't know what to do...

下面是仿真器设置窗口的截图:

Here's a screenshot of the emulator settings window:

感谢名单的前期。

推荐答案

我有时有同样的问题。也许我的解决方案适用于您,以及:与其选择WXGA720皮肤preSET的,手动设置的分辨率为720 * 1280,并手动设置内存为768甚至512。 看来愚蠢的,但它的确与众不同,如果皮肤preset为用途或手动解析配置。

I do sometimes have the same problem. Maybe my solution works for you as well: Instead of choosing the WXGA720 skin preset, manually set the resolution to 720*1280, and manually set the RAM to 768 or even 512. Seems stupid, but it makes a difference if the skin preset is uses or a manual resolution configuration.