Android Studio Emulator: not working

So Im getting this error when I try to run my an emulator through Android Virtual device manager.

emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.
HAXM is not working and emulator runs in emulation mode
emulator: AVD      RAM size = 1536 MB
emulator: HAXM max RAM size = 1024 MB 

Can someone tell me how to adjust the AVD RAM size and/or HAXM configuration to make this work? Or what can I do to fix this problem?

Upvotes: 0

Views: 449

Answers (1)

Krishna Chalise
Krishna Chalise

Reputation: 145

I got it!!!! you need to reinstall the HAXM by running a file. goto sdk stored directory andfollow the steps:

tools>extras>intel>haxm and run the executables silent.bat and install.exe. but make the memory allocated to greater than 1536MB i.e 1.9 GB.

The other way can be :

  1. Goto Android virtual device manager and add a new device
  2. Setup a new device with memory lesser than 1024 MB. But you can still use your preferred android version but you need to compromise with the device. choose device with minimum screen resolution.

Upvotes: 1

Related Questions