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

Eileen Tang
Eileen Tang
895 Points

Cannot launch AVD in emulator

I try to run the app and it says this:

Cannot launch AVD in emulator. Output: emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!

I have the same problem and i spent the whole day trying to figure it out and nothing worked.

2 Answers

Tom Schinler
Tom Schinler
21,052 Points

Are you running an Intel or AMD processor? The HAXM docs say it will only work on Intel machines, but it worked on my AMD build in the past. It stopped working a few weeks ago, and I have not been able to figure it out myself.

If you are running Intel, you may need to run the exe file first. Goto you Android Studio files (inside your C: --> users --> [your user name] --> Android Studio --> Intel --> then you should are a HAXM executable file that sets HAXM up on your machine.

But the best advice I could give you would be to download and run the Geny Moition emulator. It is far superior and you will have much better luck with it. There are a few videos on Treehouse that show you how to install it. Don't mess with the Stock emulator, it is nothing but head aches. Use Genymotion.

Best of luck!

Hello Tom, I am actually running AMD A4 processor. OS is Win 8.

Tom Schinler
Tom Schinler
21,052 Points

My box is an AMD build as well, that seems to be the issue. I'm not sure when it became an issue as I was using the stock emulator several months ago, but I have switched to Genymotion, and it really is superior.

http://teamtreehouse.com/library/android-tools

This is the short course that describes how to install the Genymoiton emulator.

The simple truth is, even if you get the stock emulator running, it will pail in comparison to what you should be using.

I have tried the Gennymotion but I am stuck somewhere. I have tirelessly tried to resolve this problem but in vain. After installing the Gennymotion I attempted to open it but the message i get is: " to start video devices make sure that your video card supports OpenGL 2.0 and update the drivers Details: failed to create framebuffer image (error 15) If possible update your video card drivers.

I have tried but it cant work. I don't know what else to do. I am stuck and I am even thinking of terminating this course. This is so frustrating. Android Studio AVD doesn't work and now this? Really? BTW i am using windows 8 version and my computer cant upgrade to to version 8.1 (but just besides the android issue)

That sounds as if you have to update your video card first before installing Genymotion. Have you updated to Windows 10 yet?