Android Studio emulator cannot configure guest memory "pc.ram": invalid argument

I could not start the emulator in Android studio due to the following error:

: WARNING: Increasing RAM up to 1 GB emulator: device fd: 620 HAXM is running and the emulator is running in fast virt mode Cannot configure guest memory "pc.ram": invalid argument

When installing HAXM, I set the memory to 1024 MB, and the emulator (using Nexus 5) is configured to use only 256 MB of RAM:

Ive tried to increase / decrease the RAM value, but it does not seem to affect the same error message that appears every time.

I do not understand why this is happening, and tried to install different versions of Android Studio. Im currently running 1.3.2, which is the version that my colleague successfully uses on the same PC (4 GB, Windows 7 32 bit).

The error indicates that the emulator is trying to increase the amount of RAM to 1 GB to set it to 256 MB.

+5
source share
2 answers

Fixing this issue seems to have reduced the image quality of the system from Marshmallow (API 23) to KitKat (API 19). It is stable for a week, and the emulator does not try to increase the size of RAM.

+4
source

Have you ever tried to change the emulator OS (system image)? Try switching to Lollipop with API → Level 22, ABI → x86, Target → Android 5.1 (with Google API)

In this window you can see and download this particular version - among many others - by checking "Show downloadable system images"

Hope this helps Chris Martin

+1
source

Source: https://habr.com/ru/post/1233598/


All Articles