HAXM configuration in android studio

user5186472 picture user5186472 · Sep 3, 2015 · Viewed 33.8k times · Source

I tried to run a simple Android chat app from GitHub. I think there's a problem with my HAXM configuration. When I run the app I see these errors:

HAXM is not working and emulator runs in emulation mode

emulator The memory needed by this AVD exceeds the max specified in your HAXM configuration.

emulator: AVD RAM size = 1536 MB

emulator: HAXM max RAM size = 768 MB

emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.

emulator: warning: opening audio output failed creating window 61 83 462 820

emulator: emulator window was out of view and was recentered

What is wrong?

Answer

shem picture shem · Mar 3, 2016

Reinstall HAXM with more RAM:

sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -u
sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -m 1024