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.
There are two scenarios:
Using VMware: go to "WM" > "Settings" > "Processors" and Activate VT-x as below:
Using OS installed on HW: as others mentioned if your CPU supports that you should activate it in your BIOS.
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.
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
If you have changed settings from BIOS, then you just need a restart of your machine.
There couple of solutions you can try
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.
If you're
Using VMware: go to "VM" > "Settings" > "Processors" and Activate VT-x as below:
Then go to your Turn Windows feature on or off and uncheck virtual Machine Platform and Windows Hypervisor Platform as below:
Thank me :)
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.
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.
Related
I can't run program of android studio.
because this alert dialog "your cpu doesn't support required features (vt-x or svm)".
I use CPU AMD A8-4500M.
I try setup another program, but it not work
How can I fix it.
Thanks you so much.
you need to enable your cpu's virtualization technology if you have. you can check it from your task manager>performance option or from your cpu boot option. if you have virtualization supported cpu you should enable it. if after enabling virtualization the problem remains you should install a fresh android studio. and if you don't have virtualization option then you have to download an arm system image for your emulator or you can try genymotion emulator. hope it will work for you.
I'm on a Hp dm4 Intel Core i5 machine with Windows 7. My Android Studio gives me the following error when I compile my application.
After some Googling I found that I have to install Intel Hardware Accelerated Executed Manager that comes with Android SDK. But when I try to do that I get this error.
Does this somehow relate to Hardware Virtualization? I already have it enabled from the BIOS.
I don't understand what the problem is. Please help!
EDIT: I downloaded the Windows Hardware-Assisted Virtualization Detection Toolfrom the Microsoft website and it says everything is fine. This is crazy!
It involves two steps:
enabling virtualization technology : I supposed you did it right.
disabling hyper-V : For this , please refer the below video link:
disabling hyper-v
If it doesn't work out please follow the blog mentioned below.
https://software.intel.com/en-us/forums/topic/518041
Virtualization Technology is enabled at the BIOS level means feature will be functional.
Try to check this video
https://software.intel.com/en-us/videos/setting-up-intel-haxm-on-windows
also try to go BIOS - Advanced and Enable "No Execute (NX) Memory Protection" feature.
For me after the change it's working very fine.
You need to go In BIOS - Advanced and enable the "No Execute (NX) Memory Protection" feature. Hope it helps.
Make sure you can use virtualization at the OS level - check it with this tool: http://www.microsoft.com/en-us/download/details.aspx?id=592
Also, I would suggest using Genymotion https://www.genymotion.com instead of the official emulators, as it's way more faster.
If you are using Avast Antivirus. Disable hardware virtualization from Avast settings. Avast uses hardware virtualization to improve performance.
In Avast!, go to Settings -> Troubleshooting -> disable Hardware-Assisted Virtualization -> Reboot your machine.
--> Install HAXM
-->Enable Avast virtualization again
It worked for me
Just for information:
I tried to install android 9 on a virtual nexus 5 device, and the option "hardware acceleration" was not available, only "automatic".
I solved installing android 8 in a virtual nexus 6.
I still don't know if it is a problem related to android 9, or compatibility between A9 and N5, since I am a very beginner in this, but maybe this can help somebody else.
When i try to develop android app using android studio I faced the problem "your computer does not support intel virtualization technology" .
Then I tried to enable vt- x in BIOS setting.
But my processor(intel B950) does not have intel virtualization technology.
So how can I start Haxm?
Your processor (intel B950) does not support virtualization technology. Hence you are out of luck to gain hardware acceleration for a speedy emulator. However you still should be able to run arm targeted emulators, though in slow speeds.
Unfortunately, you cannot use HAXM without Intel's virtualization technology support by your BIOS and CPU.
There are some non-HAXM emulators. Genymotion is suggested a lot.
So I'm trying to install HAXM, and I've tried everything for 4 days now, still nothing. My question is, do you need an Intel CPU to install HAXM because that's the only reason I can think of that it wouldn't work. I have gone into my BIOS and enabled virtualization, and I have a 64-bit AMD A4-5000 APU with Radeon Graphics HD that supports acceleration and virtualization with 8GB's of RAM...
I remember reading somewhere you either need Intel or AMD. Can anyone help, becasue I'm about to give up on Android Studio 100%.
Also, I can't use my phone for testing either, so I need to use the emulator. Thanks.
If you use Windows,I highly recommend to use Visual Studio Android emulator.
It works really fast (I have similar chipset and 6 GB's of RAM), much faster than native emulator by Google, and it's free unlike Genymotion which I used too, especially when it comes to rich feature set. You can use this emulator with Android Studio, first laucn Microsoft emulator and then in AS when you push "Run" button, you'll get a window, where you can see your MS emulator setted up as a running device, click this checkbox and then "OK" button and you're good to go, it's like just a few seconds to laucn your app. BTW, haven't tried out cordova apps, but I think it'll be same great.
If you are using AMD processor, you can download an ARM image,x86 image need install HAXM which need VT-x support, and only intel's CPU support it.
So download "ARM EABI V7a system image" it works well or try using "genymotion emulator"
Hope this help u!!!!
Driver available direct from INTEL here - https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager .
From readme:
Hardware Requirements:
Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
AMD is on Windows supported since July 2018. You have to enable Windows Hypervisor Platform (WHPX):
https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html
I been having a problem with android emulators on both Android Studio and Eclipse. I cannot get it to run becuase the Intel HAXM is not installed. I installed it via the sdk manager but still cannot run the intelhaxm.exe. because VT-x needs to be enabled but I don't know how to do that on an Acer Aspire since its blocked off in the bios. Is there a way to get around this? Thank you.
It seems as if support for VT-x is may be found in the advanced BIOS features. There is a thread that discusses this topic, along with providing a tutorial on how to expose the "hidden" BIOS features, may be found here: How to enable VT-x/AMD-v in Aspire V5-122P bios?