Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (2014) Creating the Screen Layout Getting to Know Our Tools

emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed

Even though I've enabled virtualization, I am getting this error, unable to launch emulator. What to do? Plz help.

5 Answers

John Moya
John Moya
17,963 Points

First go to your bios look for intel Intel Virtualization Technology (VT, VT-x, vmx) and enable them, Then install the haxm Driver (Can be Dowloaded From The intel Site) "https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager" and install it, the use the emulator on the console It should say unsing Fast Haxm Mode, Your Processor Must be intel to bee supported on Windows "Many modern CPUs provide extensions for running virtual machines (VMs) more efficiently. Taking advantage of these extensions with the Android emulator requires some additional configuration of your development system, but can significantly improve the execution speed. Before attempting to use this type of acceleration, you should first determine if your development system’s CPU supports one of the following virtualization extensions technologies:

Intel Virtualization Technology (VT, VT-x, vmx) extensions
AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)

The specifications from the manufacturer of your CPU should indicate if it supports virtualization extensions. If your CPU does not support one of these virtualization technologies, then you cannot use virtual machine acceleration.

Note: Virtualization extensions are typically enabled through your computer's BIOS and are frequently turned off by default. Check the documentation for your system's motherboard to find out how to enable virtualization extensions."

Thankx. Reinstalling haxm driver helped.

Brandy McCain
Brandy McCain
3,160 Points

It says error when I attempt to install. I have a ADM CPU. So like what do I do now?

John Moya
John Moya
17,963 Points

Sofie You have Several Options Note: Haxm Acceleration on AMD Processors Not Supported Under Windows

1-Install Android Studio on a Linux Machine (Via Virtual Box, or VMWare), also you could install Linux on your machine alongside other operating systems

2-Use Genymotion Emulator https://www.genymotion.com/ (Reference Video https://www.youtube.com/watch?v=byMla9XKk2c) make an Account and Install it, to use it on Android Studio you will have to install a plugin on Android Studio (before using any device you have to download it, make a test run before walking further), On The Studio Go to File > Settings > Plugins , Then Search Genymotion and Install it you find a pink button at the end of the icons after the Question mark Symbol after that the emulator is installed on Android Studio, When Running The project Chosee the Genymotion Device and it will run =)

Brandy McCain
Brandy McCain
3,160 Points

Thank you so much! :)

Allison Gray
Allison Gray
1,256 Points

Thanks for this answer John Moya this is perfect as I have an AMD Processor as well.

I installed genymotion as instructed, also installed the plugin, still the message remains with the error. I did restart the computer and now I am lost.

John Moya
John Moya
17,963 Points

Remik, First on Windows Uninstall Genymotion and Uninstall The Plugin in Android Studio, the Reboot, After the Windows Starts Again, Reinstall Genymotion and The Plugin, This Video Will Help You https://www.youtube.com/watch?v=byMla9XKk2c, This Will Work on Both Intel and AMD systems, if you are on Linux (It Rocks) you can make two things, install the HAXM driver it will work on Linux, or use Genymotion on Linux install Instructions Here http://ubuntuhandbook.org/index.php/2014/02/install-android-emulator-ubuntu-linux/, if you have any doubts just Write Again

John Moya Thanks!!!