Android 4.0.3 模拟器崩溃 : Failed to allocate memory: 8

标签 android android-emulator

当我将皮肤内置显示设置更改为 WXGA720 时,问题开始了。 然后每次我尝试运行模拟器时,它都会显示以下消息:

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),但也没有用...

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

这是模拟器设置窗口的截图:

enter image description here

先谢谢了。

最佳答案

我有时也会遇到同样的问题。也许我的解决方案也适合你:不要选择 WXGA720 皮肤预设,而是手动将分辨率设置为 720*1280,并将 RAM 手动设置为 768 甚至 512。 看起来很蠢,但是如果皮肤预设是使用还是手动分辨率配置会有所不同。

关于Android 4.0.3 模拟器崩溃 : Failed to allocate memory: 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11318348/

相关文章:

Android 模拟器错误消息 : "PANIC: Missing emulator engine program for ' x8 6' CPUS."

android - 如何使用 gradle 从 .AAR Android 库存档中排除文件

android - 在真实设备上运行 Android 应用程序时要输入哪个 IP 地址?

Android Studio - 按钮点击崩溃(简单)

android - Android 应用程序的内部存储空间中存储的最大数据量应该是多少?

android - 无法启动 './qemu/linux-x86_64/qemu-system-i386' : No such file or directory

java - 如何将字符串从 Java 服务器类传递到 Android Activity ?

android-emulator - 模拟器 : emulator: ERROR: Not enough space to create userdata partition

android - 使用 viewmodel 中 LiveData 的结果从 firebase 获取数据

android - 在 ActionBar 顶部显示 NavigationDrawer