Reputation: 179
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?
Upvotes: 7
Views: 7611
Reputation: 1
I search many times for emulator error but every time i found the error emulator not working increase the RAM size...I increase mn RAM 1GB and now its work....try this
Upvotes: -2
Reputation: 58
Increase RAM Size for Your Android Studio from 512 MB
to 1 GB
or Create new AVD Emulator
with low version API (Ex: API 19, Kitkat
).
Upvotes: 1
Reputation: 5734
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.
Then Running this one solved the error "Cannot set up guest memory 'pc.ram': Invalid argument". It runs smoothly in my win7
Upvotes: 2