Android studio emulator fails to start with memory

2019-01-18 02:47发布

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

8条回答
Anthone
2楼-- · 2019-01-18 03:34

If you are using Android studio and facing problem with emulator Ram size then follow the step:

Go to Tools -> Android -> AVD Manager -> (select you device ) -> Edit device -> Show advanced setting -> New Device -> Choose Change button -> New Hardware profile -> Change the Memory size to 512M -> Edit device in the right bottom corner then -> finish.

查看更多
啃猪蹄的小仙女
3楼-- · 2019-01-18 03:35
查看更多
登录 后发表回答