我正在尝试运行我的第一个 android studio 项目,但收到此错误消息并且模拟器无法启动:
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 studio打开Windows->选择Android Virtual Device Manager->选择您的设备->点击编辑按钮->在内存选项中将RAM参数更改为512 Mb->保存并运行模拟器<
- 您也可以使用 Genymotion Android Vm:https://www.genymotion.com/?utm_source=dlvr.it&utm_medium=twitter#!/download
关于java - Android Studio 模拟器无法启动内存限制相关的错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28269121/