Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am getting this error "your cpu doesn't support vt-x or svm, android studio 2.1.1 in AMD 6300 processor"

I have enabled the virtualization in bios setup but when i try to launch the emulator i am getting the error "your cpu doesn't support vt-x or svm"

I have installed Intel haxm too.

like image 821
user399883 Avatar asked May 27 '16 04:05

user399883


People also ask

What is Vt X in Android Studio?

Vt-x is the Intel Virtualization Technology. So these all things are Virtualization technology and they help to run different os instance in our system at a time. For example to run VirtualBox or VMware we have to enable it.

Can I use HAXM with AMD processor?

The Windows version of the Android Emulator uses HAXM, which only works on Intel processors. That means AMD-powered computers can only use non-accelerated ARM images.

How do I enable HAXM in BIOS?

Open the SDK Manager. Click the SDK Update Sites tab and then select Intel HAXM. Click OK. Use the wizard to complete the installation.


2 Answers

2nd Aug 2019

I am using AMD RYZEN 3400G. Got the same issue and i fixed it in a very easy manner.

You have to enable Windows Hypervisor Platform

Go to Control Panel> Programs > Turn Windows features on or off and check the Windows Hypervisor Platform. And yes don't install HAXM.


EDIT : 27th Aug 2019

Only install the emulator image which is stable (or one version behind). For now use Android P image not Q, since I had a problem where Android Q image was not working with HyperV & only looking to install HAXM (which we know is not possible since it is not Intel)

Note : The image must not be installing HAXM along with it, otherwise it won't work.

like image 144
Saksham Khurana Avatar answered Sep 28 '22 23:09

Saksham Khurana


The VT-x technology as well as the HAXM are unique to Intel processors. In the case of AMD processors, AMD-V is the counterpart in the virtualization tech front. Installation of HAXM in an AMD processor will not have any impact and hence the error "your cpu doesn't support vt-x or svm".

Reference link: http://tools.android.com/tech-docs/emulator

As stated in the link above

For best performance with Android Emulator 2.0, your system should meet the following specifications: Windows: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality. AMD and Intel Atom processors do not support VT-x virtual machine acceleration. Linux: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality or AMD processors with support for AMD Virtualization™ (AMD-V™) 64-bit Operating Systems.

I would suggest to use an ARM image for the emulator instead of an Intel image. This would not require the use of HAXM nor VT-x.

like image 45
M Navneet Krishna Avatar answered Sep 29 '22 00:09

M Navneet Krishna