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

Luis Gutierrez
PLUS
Luis Gutierrez
Courses Plus Student 79 Points

Emulator not launching.

Does anyone know how to fix this.

Cannot launch AVD in emulator. Output: emulator: WARNING: VM heap size set below hardware specified minimum of 228MB emulator: WARNING: Setting VM heap size to 384MB init: Could not find wglGetExtensionsStringARB! Hax is enabled getGLES1ExtensionString: Could not find GLES 1.x config! Hax ram_size 0x60000000 Failed to obtain GLES 1.x extensions string! HAX is working and emulator runs in fast virt mode. console on port 5554, ADB on port 5555 emulator: emulator window was out of view and was recentered emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. Could not initialize emulated framebuffer

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

http://stackoverflow.com/questions/30686324/error-while-running-android-application-could-not-initialize-opengles-emulatio

Note: that part about unchecking Host GPU has changed, you should set graphics to Software instead of Auto or Hardware in the dropdown if you have to.

Fantastic! Setting graphics to Software worked for me. It solved the "ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. Could not initialize emulated framebuffer".