Android Studio模拟器无法启动并显示与内存限制有关的错误消息

我正在尝试运行我的第一个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虚拟设备管理器->选择设备->单击编辑按钮->在内存选项->保存中将RAM参数更改为512 Mb,然后保存并运行模拟器
  • 另外,您可以使用Genymotion Android Vm:https ://www.genymotion.com/?utm_source = dlvr.it & utm_medium = twitter#!/download

以上是 Android Studio模拟器无法启动并显示与内存限制有关的错误消息 的全部内容, 来源链接: utcz.com/qa/403920.html

回到顶部