Q:
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.
A:
Update: Starting with Android SDK Manager version 21, the solution is to edit C:\Users\<user>\.android\avd\<avd-profile-name>.avd\config.ini and
change the value
hw.ramSize=1024
to
hw.ramSize=1024MB
本文介绍了解决Android模拟器中出现的内存分配失败问题的方法。通过编辑配置文件config.ini,将内存大小设置为1024MB,可以有效避免模拟器启动时出现的异常终止情况。
937

被折叠的 条评论
为什么被折叠?



