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 Creating the Screen Layout Getting to Know Our Tools

tyrell tucker
tyrell tucker
510 Points

Cannot open the emulator!

Cannot launch AVD in emulator. Output: emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored. emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAXM is not installed on this machine

can anyone tell me what I need to do?

4 Answers

Andreas Frost Nordstrøm-Hansen
Andreas Frost Nordstrøm-Hansen
2,443 Points

I remember having the same issue.

First it needs to be enabled in the BIOS of your pc.

second i remember using this and it worked for me

1) Open SDK Manager and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven't.

2) Now go to your SDK directory (C:\users\username\AppData\Local\Android\sdk, generally). In this directory Go to extras > intel > Hardware_Accelerated_Execution_Manager and run the file named "intelhaxm-android.exe".

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.

It might take a minute or 2 to show the emulator window.

it's taken from stackoverflow

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Tyrell,

I can't be 100% sure, but is seems like something went wrong with the installation of Android Studio. Have you tried installing a new working copy?

:dizzy:

tyrell tucker
tyrell tucker
510 Points

Hi Jason,

Thank you for your prompt reply, I'll give it a go now and see how that goes.

Cheers mate.

tyrell tucker
tyrell tucker
510 Points

Hi Andreas,

I done as you said and that solved the problem! took me a little while to do as I kept getting different error messages but got there in the end!

Cheers mate!