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 Creating and Running a Virtual Device

Teacher Russell
Teacher Russell
16,873 Points

Emulator not working

I'm getting ERROR: x86 emulation currently requires hardware acceleration. I see I'm not the first to have trouble with the emulator, but I'm not sure if this isn't something I can fix here in Android Studio as is. I'd hate to find out I have to pay for an emulator at this point, because I can't:)

2 Answers

Hi. In Android Studio, go to File > Settings > Appearance & Behavior > System Settings > Android SDK. Select the SDK Tools tab and down the list make sure Intel x86 Emulator Accelerator (HAXM installer) is checked. If not, check the box, click Apply and install and restart Android Studio.

If it still doesn't work, sometimes uninstalling and reinstalling it again helps.

Teacher Russell
Teacher Russell
16,873 Points

Hey, thanks, Lauren! I followed along and did check that HAXM was there at the beginning, but didn't try to re-install. I'll give it a shot. If it doesn't work, it's ok. Before long here I'm going to re-install Windows and then Virtual Box to run Linux and then I'll be re-installing Intellij/Android Studio, etc. Thanks again:)

Teacher Russell
Teacher Russell
16,873 Points

ps. It's telling me x86 emulation currently requires hardware acceleration.

OK. Stupid question maybe but I have to ask: did you restart Android Studio? If so, also make sure Virtualization (VT) is enabled in your BIOS. It is disabled by default.

Also, make sure you (re)installed HAXM as an Administrator.

Teacher Russell
Teacher Russell
16,873 Points

No no, reasonable question put to anyone struggling with this stage of things:) I appreciate the help. I had tried all of those things at some point, but after installing and uninstalling and redoing so many steps, I may have left something undone, so I just ran through it all again, re-installed the HAXM again from the android.exe file, and this time, IT WORKED!

Now back to why I couldn't get Ubuntu to install in my Virtual Box on my other PC. Have a good one!

Glad it's working now :)