Imtiaz Ali
Imtiaz Ali

Reputation: 362

Your CPU does not support VT-x

I have created AVD, but when I try to run android program, it is showing an error

Your CPU does not support VT-x

I enabled virtualization technology in BIOS, but still this error comes up when I try to run my android program.

Upvotes: 22

Views: 86629

Answers (9)

TOPKAT
TOPKAT

Reputation: 8698

For Mac users with Apple Silicon (M1/M2/M3)

This error may appear if you select the wrong system image from the list when installing a new emulator. Make sure you make the right choice (see screenshot above)

enter image description here

Upvotes: 4

user7779697
user7779697

Reputation: 41

If you're Using VMware: go to "VM" > "Settings" > "Processors" and Activate VT-x as below:

enter image description here

Then go to your Turn Windows feature on or off and uncheck virtual Machine Platform and Windows Hypervisor Platform as below:

enter image description here

Thank me :)

Upvotes: 1

Prakash
Prakash

Reputation: 9

There couple of solutions you can try

  1. You can Make an AVD With ARM Instead of HAXM.
  2. Other solutions can be just to enable Intel Virtualization Technology from BIAS.
  3. Or you can use an alternative emulator like genymotion to fix this problem.

If the above solutions bother you then you can use a physical device for testing purposes.

Upvotes: 1

alireza ranjbaran
alireza ranjbaran

Reputation: 1125

There are two scenarios:

Using VMware: go to "WM" > "Settings" > "Processors" and Activate VT-x as below:

enter image description here

Using OS installed on HW: as others mentioned if your CPU supports that you should activate it in your BIOS.

Upvotes: 12

Fazle Rabbi
Fazle Rabbi

Reputation: 340

There is a couple of solutions to your problem.

  • You can Make an AVD With ARM Instead of HAXM.
  • Other solutions can be just to enable Intel Virtualization Technology from BIAS.
  • Or you can use an alternative emulator like genymotion to fix this problem.
  • If the above solutions bother you then you can use a physical device for testing purposes.

Upvotes: 0

promanowicz
promanowicz

Reputation: 429

For those who might have the problem in these days, you might try the steps described here: https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html

Also according to other answers, you have to be sure that CPU does support virtualization, and that the virtualziation is on.

Upvotes: 1

Maxim
Maxim

Reputation: 53766

According to Android Documentation, to run an emulator the development system's CPU should support one of the following virtualization extensions technologies:

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

Your CPU is Intel® Core™2 Duo Processor E7300, which according to the manufacturer does not support Intel Virtualization Technology (VT-x). That's the reason for this error.

The workaround is to use an alternative Android Emulator, e.g. Genymotion, as already suggested.

Upvotes: 6

Aditya Vyas-Lakhan
Aditya Vyas-Lakhan

Reputation: 13555

I suggest that you Just need to follows steps:

First,Go to Control Panel → Program and Feature.
Then, Click on Turn Window Features on and off. A window opens.
Then,Uncheck Hyper-V option and restart your system.

Now, you can Start HAXM installation.

Check this also https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

OR

You can use Genymotion

Upvotes: 2

Nishad
Nishad

Reputation: 26

If you have changed settings from BIOS, then you just need a restart of your machine.

Upvotes: 1

Related Questions