I cannot create a virtual device in Android Studio because I couldn't install an additional package - Intel HAXM. It throws an error:
"This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed.
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information."
I found only few links with this issue but it said that I should turn off "Hyper-V" feature in "Windows features" but I have no the such option. My CPU is AMD Ryzen 5. By the way, I am obliged to install the package because it does not allow me to run my app. How do I fix the problem?
HAXM is only supported for Intel CPUs. What you can do is enable SVM in your BIOS. After that you will probably be able to enable Hyper-V in windows if you have Windows 10 Pro/Enterprise/Education.
See Microsoft on HyperV install, or
I have got an AMD Ryzen CPU and Android emulator doesn't work.
Also make sure you have the latest version of Android Studio
Related
I cant install haxm in android studio
cpu : AMD Phenom || x6 1100t
Failed to install Intel HAXM. For details, please check the installation log: C:\Users\AFRADA~1\AppData\Local\Temp\haxm_log1894.txt
HAXM installation failed. To install HAXM follow the instructions found at: https://software.intel.com/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Installer log is located at C:\Users\AFRADA~1\AppData\Local\Temp\haxm_log1894.txt
Installer log contents:
=== Logging started: 12/22/2019 10:32:57 ===
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed.
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
You absolutely don't need Intel HAXM (Hardware Accelerated Execution Mode) in AMD processors, because they are AMD processors.
Just enable (check) Windows Hypervisor Platform in Windows features as shown below.
Now, you can start emulators. No need of Intel HAXM.
Here is official link: https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html
Try to disable hyper-v in control panel then select window future if hyper-v is disable
Active Virtualization Technology (VT-x) at bios setting
follow the steps from this article, you need to enable virtualization from your BIOS settings in order to run your android emulators.
i do this on every machine 1st time i install android studio/HAX, hope it works for you
https://techcommunity.microsoft.com/t5/ITOps-Talk-Blog/Step-By-Step-Enabling-Hyper-V-for-use-on-Windows-10/ba-p/267945
Thanks for TekTutorialsHub for the idea - in my computer (Win10, Android Studio 3.6.1) the problem was connected with antivirus program protection of memory integrity (Windows Defender Security Center - Device security/Core isolation details/Memory integrity/off). Restart the computer.
In older version on the same hardware everything worked perfect, the problem began after Android Studio /SDK update.
It's really easy to solve just go to your BIOS and enable the Virtualization Technology (VT-x),You can disable the Hyper-V from the windows feature and check if it works. Thanks
This a screenshot of the sdk manager message showing the emulator as incompatible with windows:
I am using android studio, currently version 2.2.3.
Is there an other or older version of the emulator accelerator (HAXM installer) that is compatible with windows 10 ?
Try the following
download HAXM from Intel
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager.
Unzip the file and Run intelhaxm-android.exe.
Run silent_install.bat.
In my computer Win10 x64 - VS2015 it worked
You likely have Hyper-V enabled. The manual installer provides this detailed notice when it refuses to install on a Windows with it on.
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed.
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
Did you read https://software.intel.com/en-us/blogs/2014/03/14/troubleshooting-intel-haxm?
It says "Make sure "Hyper-V", a Windows feature, is not installed/enabled on your system. Hyper-V captures the VT virtualization capability of the CPU, and HAXM and Hyper-V cannot run at the same time. Read this blog: Creating a "no hypervisor" boot entry." https://blogs.msdn.microsoft.com/virtual_pc_guy/2008/04/14/creating-a-no-hypervisor-boot-entry/
I've created the boot entry that disables HyperV and it's working
I am trying to run emulator in Android studio.
It gave me error that "requires hardware acceleration".
so I did some research, and found that I need HAXM installer installed. source can be found out here Error in launching AVD with AMD processor
So I downloaded it. I ran again and then it gave error "This computer does not support VT-x" so called Virtualization Technology.
So in the same above posting I found out I need to enable VT from bios settings. I did that too. But when I try to install HAXM it again giving me error "This computer does not support VT-x"
How I can install HAXM and eventually able to run android emulator?
Updated I have tried Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)
When I opened turn feature on or off, its not giving me Hyper-V option.
Thnx
That CPU (from early 2009) does not support virtualization, so you will need to use a software enhancer - like genymotion.
Hi i'm trying to use Android Studio and not having haxm installed is preventing the emulator from working.
I've tried many solutions to try and install it without getting the error 'VT not supported'. I have enabled Virtualisation Technology on the BIOS, looked for a Windows feature called 'Hyper-V' to uncheck however my pc does not seem to have this and other options such as installing oracle virtualbox, disabling 'hardware assisted virtualisation' on AVAST and countless restarts. Any help is appreciated. I'm using Windows 8.1 and amd processor. Thanks.
Unfortunately you can't use HAXM because it's only for Intel processors:
The Intel Hardware Accelerated Execution Manager (Intel® HAXM) is a
hardware-assisted virtualization engine (hypervisor) that uses Intel
Virtualization Technology (Intel® VT) to speed up Android app
emulation on a host machine. In combination with Android x86 emulator
images provided by Intel and the official Android SDK Manager, HAXM
allows for faster Android emulation on Intel VT enabled systems.
You should try Genymotion, it supports VT-X and also AMD-v.
I am trying to install intelhaxm-android in my machine. It is giving me error VT-x not supported in my computer (similar to this question and this too)
I tried every solution given there:
Enabled Virtualization from BIOS
Turned off the Hyper-V by cmd line
Enabled Execute Disable bit (as suggested on intel guide)
It is not working out for me. Please someone help, what could be the possible problem in my case, and if someone could suggest a solution, would be great.
My machine is HP Pavilion g4 Notebook PC/Windows 7 Home Basic 64-bit/AMD A4-3330MX APU
It caused by your APU/CPU type. From Intel® Hardware Accelerated Execution Manager (HAXM) official website:
Important:
Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.To determine the capabilities of your Intel processor, visit http://ark.intel.com/
Additionally, Intel HAXM can be used only with Android* x86 emulator images provided by Intel. Intel HAXM cannot be used with ARM* Android* emulator images or non-Intel x86 Android* emulator images.
But your processor is AMD, not Intel. It means, you need to upgrade your Notebook PC's processor to Intel.
Basically you want to install software for intel processor, but you have AMD. According to Android emulator documentation.
Virtual machine acceleration for Windows requires the installation of the Intel Hardware Accelerated Execution Manager (Intel HAXM). The software requires an Intel CPU with Virtualization Technology (VT) support.
So you basically need Intel processor for x86 virtualization.
In you case I'd recommend you to use Genymotion emulator. It usually works faster than native Android emulator with HAXM and uses Virtualbox virtualization technology, so can be run on your processor. It's also cross-platform.