Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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