Android Emulator: Failed to allocate memory: 8 even with 8MB RAM(Android Emulator:分配内存失败:8MB RAM 即使是 8MB)
问题描述
我正在尝试启动模拟器,但我不断收到错误 Failed to allocate memory: 8.
I'm trying to start an emulator, but I keep getting the error Failed to allocate memory: 8.
这个问题有一些解决方案,将 RAM 从 1024 设置为 512,但是当我将它设置为 8 时,它仍然会因为这个错误而崩溃!
There are some solutions to this problem, setting the RAM from 1024 to 512, but when I even set it to 8 it still crashes with this error!
我该怎么办?
设置截图:
这里是 Windows 给出的崩溃的 emulator-arm.exe 的错误消息:
Here the error message Windows gives of the crashed emulator-arm.exe:
Problem signature:
Problem Event Name: APPCRASH
Application Name: emulator-arm.exe
Application Version: 0.0.0.0
Application Timestamp: 4fe779fb
Fault Module Name: emulator-arm.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4fe779fb
Exception Code: 40000015
Exception Offset: 0014428e
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1043
Additional Information 1: ea2b
Additional Information 2: ea2b4716fbf9f89aacc15214fb1537bb
Additional Information 3: 8d2f
Additional Information 4: 8d2f162ccf8522e475fc4fbe036a6efa
我最后一次检查模拟器工作是在更新到 ADT 20 之前和删除所有旧 AVD 之前.
The last time I checked and the emulator worked was before updating to ADT 20 and before deleting all old AVD's.
推荐答案
我遇到过这样的问题.修复它的唯一方法是将其设置为 256、512 或 1024.我不知道为什么它不适用于任何随机值.
I've had problems like this. The only way to fix it was to set it to either 256, 512 or 1024. I have no idea why it won't work with any random value.
这篇关于Android Emulator:分配内存失败:8MB RAM 即使是 8MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android Emulator:分配内存失败:8MB RAM 即使是 8MB
基础教程推荐
- iOS4 创建后台定时器 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
