我刚刚更新了Android SDK工具至r20,并尝试基于Android 4.1和WXGA创建avd,但在启动AVD时遇到错误消息。
config.ini:
hw.mainKeys=no
hw.lcd.density=320
sdcard.size=512M
skin.name=WXGA720
skin.path=platforms\android-16\skins\WXGA720
hw.cpu.arch=arm
hw.keyboard.lid=no
abi.type=armeabi-v7a
hw.cpu.model=cortex-a8
vm.heapSize=48
hw.ramSize=1024
image.sysdir.1=system-images\android-16\armeabi-v7a\
错误信息:
Starting emulator for AVD 'android4.1'
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.
只有当我选择WXGA皮肤时才输出错误,无论是720还是800。
我看到Failed to allocate memory: 8页面以寻找解决方案,并尝试更改RAM大小,但并没有解决我的问题。
我的系统环境:
OS: windows 7 64bit
memory: 4GB
我尝试在Windows 7上启动Android 4.0.3 WXGA,但遇到了相同的错误。但是在Ubuntu 64位Android SDK工具r18中,创建Android 4.0.3 WXGA,可以正常启动。
那么,我应该怎么解决这个问题呢?