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

Joseph Pariseau
Joseph Pariseau
1,424 Points

I keep getting a message that says "Your CPU does not support required features (VT-x or SVM)."

When I click "Troubleshoot" it displays this message:

Unfortunately, your computer does not support hardware accelerated virtualization. Here are some of your options: 1) Use a physical device for testing 2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX 3) Develop on a Linux computer that supports VT-x or SVM 4) Use an Android Virtual Device based on an ARM system image (This is 10x slower than hardware accelerated virtualization)

Lachlan Stevens
Lachlan Stevens
10,766 Points

Hi Joseph

This indicate either your CPU does not support hardware accelerated virtualisation (required for emulating android) or your bios settings are not set up properly.

Could you advise what CPU you are using?

3 Answers

Lachlan Stevens
Lachlan Stevens
10,766 Points

Hi Joseph

I've had a look for you and I do not believe your CPU supports VT-c (or the AMD equivalent), which means you wouldn't be able to run an x86/64 virtual device.

Unfortunately laptop hardware can be quite restrictive in term of features such as this, and laptop BIOS is usually pretty barebones as well. Generally you would need a higher spec machine to be able to use hardware virtualisation.

Your best bet would be to select an ARM device in the device manager (in the description you should look for ARM rather than x86 or x86_64). This should work for you but it will be much slower to load up (could take anywhere up to 15-20 minutes in some cases for the virtual device to be ready for input).

Joseph Pariseau
Joseph Pariseau
1,424 Points

My laptop model is HP 15-ba051wm Processor is 7th gen AMD A10-9600P APU

Joseph Pariseau
Joseph Pariseau
1,424 Points

I went into the bios and turned on the virtualization option (which was turned off) then I installed the Genymotion Trial and after tearing my hair out with an incompatible version of VirtualBox I finally got Genymotion to work. I haven't tried the built in emulator in Android Studio yet but I'm hopeful. Cross your fingers! Lol Now, if I could just figure out which phone to emulate for general testing. Thanks for helping my friend. :)