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

Getting this error while debugging the funfacts app in Android Studio??

Hi Guys,

Can you please help me with the following error in Android Studio:

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

Thanks in advance.

Regards, Yash

2 Answers

You need to install and activate Intel HAXM in order to use emulators. First, you need to access your BIOS/Boot menu and turn on "Virtualization". Next, you need to install HAXM, which you can do either from Intel's website (easiest) or from the Android SDK Manager. If you are unsure on how to access your BIOS/Boot menu, Google "enter BIOS" along with your manufacturers name (HP, Lenovo, etc.) as it's different on different computers. It's very easy though, you just press a button when the computer boots up (usually F1, F10, F11 or another F-key).

Go to android sdk manager and in the bottom you can find HAXM .And there you can download it and install it. Otherwise see the workshop http://teamtreehouse.com/library/getting-started-with-the-android-emulator

In the workshop you can find complete guide to set up an anroid emulator.