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

[ISSUE] "Unable to install Intel HAXM. CPU does not support...." Does anyone have any advice or thoughts? Thanks!

Hello, everyone, I hope you all are having a nice and productive day!

This is my first time posting on the TTH community forums so I will do my best to make this question easy to understand in hopes of getting an answer. Thank you all in advance!

I am working with the "Android Studios" IDE and working with one of the beginner Android application creation courses. "Build a Simple Android App with Java" to be exact. Well, my issue is with my computer and Android studios and it's ability to emulate android devices. It would seem my laptop does not support this feature due to my laptop not having the proper chipset or onboard technology. The error is this:

Unable to install Intel HAXM Your CPU does not support required features (VT-x or SVM).

The error is followed by some utterly useless options like getting a new PC, using another PC, etc.

I am able to run the apps while testing them on my actual device via USB cable and setting my phone to the proper settings. But obviously, the ability to use an emulator is so much better.

So my issue? I need to install Intel HAXM to run emulators. I need CPU features (VT-x or SVM) to install HAXM. So the primary issue is "Your CPU does not support required features (VT-x or SVM)."

Does anyone know how to"

  • Fix this?
  • Bypass this?
  • Workarounds?
  • Alternatives for the emulator?
  • Anything I may not have known to ask?

As always thank you for taking the time to read this and I look forward to your replys!

Regards, DeveloperDan

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! You've provided a lot of really clear information here, but I still cannot be sure to answer you with a guaranteed answer. Here's why: many laptops can run virtualizations on the CPU but have it disabled by default, but some cannot run it at all. What we're hoping for here, is that virtualization is turned off on your CPU right now and that you can enable it. To do this, you will need to go into your BIOS and look for the CPU settings and see if you can find anything regarding virtualization.

:warning: Before doing this, please read any instructions by the manufacturer of your laptop regarding the BIOS. It is possible to further complicate (or even destroy things) by failing to heed the warnings and instructions they give.

Besides being able to enable virtualization on your laptop, I know of no other workaround.

Hope this helps! :sparkles:

Thanks for the answer and quick reply! Your answer, after reading, made me realize this answer is about as fundamental as it gets and does not need a more complex answer. So this has resolved me issue this I've accepted the answer. And their likely is no workaround due to the nature of the problem like you've said you don't know of any

I will check the BIOS for virtualization features or anything related to that and since this is a newer laptop I'm hoping it has it and will check the manufacturer's site for make and model details. Thanks!

Again, thanks for the quick reply and on-point answer! Have a nice day!

Seth Kroger
Seth Kroger
56,413 Points

If you're unable to enable HAXM or otherwise run the standard emulators you can always try out the free version of the Genymotion emulator: https://www.genymotion.com/fun-zone/