Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Getting Started with Android Running the Fun Facts Project

Orla McGreal
Orla McGreal
1,625 Points

Android Studio says: The memory needed by this AVD exceeds the max specified in your HAXM configuration. What to do?

The emulator is set up and displays ANDROID but won't go any further. Under the run text I have the following message:

HAX 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 = 512 MB emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.

How do I adjust my settings to fix this?

Thanks in advance!

1 Answer

Lemuel Ambie-Barango
Lemuel Ambie-Barango
31,559 Points

If you are using Android Studio, there is an option for RAM size when creating virtual device from AVD.

You can read more about this in the android AVD documentation, http://developer.android.com/tools/devices/managing-avds.html"

When creating an emulator using the AVD choose advanced settings and change the RAM to 1536MB