Android的工作室模拟器内存​​限制 [英] Android studio emulator memory limit

查看:156
本文介绍了Android的工作室模拟器内存​​限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行我的第一个Android的工作室项目,但我得到这个错误信息和仿真器无法启动:

创建文件系统,4224分之11的inode和16896分之1302块 无法创建上下文0x3005 仿真器:警告:无法初始化OpenglES模拟,用软件渲染器。 仿真器:警告:1536MB的内存请求大小太大了您的环境,并减少到1152MB。 模拟器:设备FD​​:544 HAX不工作,并在仿真仿真模式运行 模拟器:需要通过该虚拟机的内存超过驾驶极限。 无法设置客户机内存pc.ram:无效的参数

解决方案
  • 从Android的工作室开放Windows的>选择Android虚拟设备管理器 - >选择你们设备 - >单击编辑按钮 - >更改内存参数为512 MB的内存选项 - >保存并运行该模拟器将工作
  • 否则,你可以使用Genymotion Android的虚拟机:<一href="https://www.genymotion.com/?utm_source=dlvr.it&utm_medium=twitter#!/download">https://www.genymotion.com/?utm_source=dlvr.it&utm_medium=twitter#!/download

I'm trying to run my first android studio project but I get this error message and the emulator doesn't start :

Created filesystem with 11/4224 inodes and 1302/16896 blocks
Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
emulator: WARNING: Requested RAM size of 1536MB is too large for your environment, and is reduced to 1152MB.
emulator: device fd:544
HAX is not working and emulator runs in emulation mode
emulator: The memory needed by this VM exceeds the driver limit.
Cannot set up guest memory 'pc.ram': Invalid argument

解决方案

这篇关于Android的工作室模拟器内存​​限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆