问题
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.
回答1:
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.
回答2:
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
回答3:
If you have changed settings from BIOS, then you just need a restart of your machine.
回答4:
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.
回答5:
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.
来源:https://stackoverflow.com/questions/40541801/your-cpu-does-not-support-vt-x