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.
This following solution worked for me. In the following configuration file:
C:\Users\<user>\.android\avd\<avd-profile-name>.avd\config.ini
Replace
hw.ramSize=1024
by
hw.ramSize=1024MB
本文解决了一个常见问题:Android模拟器启动时出现的内存分配失败错误。通过修改配置文件中的内存设置,将hw.ramSize从1024更改为1024MB,成功解决了问题。
736

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



