Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why does android emulator increase the RAM size automatically and make me fail to launch it?

i'm using win7. To launch android emulator successfully, i set the RAM size 512MB in AVD manager. but when i launch the android emulator, it told me "WARNING: Increasing RAM size to 1GB" and "Cannot set up guest memory 'pc.ram': Invalid argument". Why does it increase the RAM size? What should I do?

like image 562
daquexian Avatar asked Oct 01 '15 09:10

daquexian


1 Answers

I have found a solution for this problem. I created a virtual device of API level 23.Then it gives me the error as yours.

Solution:

I download and install Android sdk for API level 19 from SDK manager(SDK Platforms,SDK Tools). Then deleted my existing emulator device(api 23) and after downloading system image for i.e. kitkat (api 19) that takes lower memory create a new AVD.

system image download

Then Running this one solved the error "Cannot set up guest memory 'pc.ram': Invalid argument". It runs smoothly in my win7

like image 106
Rasel Avatar answered Oct 10 '22 12:10

Rasel