This question already has answers here:
Error during installing HAXM, VT-X not working
(25 answers)
Closed 8 months ago.
I'm having difficulties trying to install HAXM for my emulator in Android Studio. I have an hp2000 notebook; I updated Windows 8.1 to Windows 8.1 Pro to activate the Hyper-V feature and I even went to system settings to enable virtualization, but am still getting "This computer does not support Intel virtualization (VT-x). HAXM cannot be installed. Please refer to the Intel HAXM documentation for more information."
My Android Studio SDK manager is showing that it's installed.
This procedure worked perfectly for me. Hope this helps.
F10 (Computer Set Up) - BIOS - Security -System Security -Enter - Virtual Technology (VTX)-Enable-Fileď Save and Exit
Goto sdk Folder: F:\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Run intelhaxm-android.exe
You should be seeing a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard. Click the Finish Button to exit the wizard"
Once this works, open android studio, and try running the emulator. You should be seeing "HAX is working and emulator runs in fast virt mode"
After enabling the virtulization in-bios do hard restarting via power button solved my problem:). I read in intel blog to do so. So try this option it may help:)
You must have an Intel processor that supports virutalization and ND bit on. You can check http://ark.intel.com to tell.
to set ND bit you can use bcdedit /set nx AlwaysOn
to set virtualization properly once enabled in BIOS you can type
bcdedit /set hypervisorlaunchtype off
If you're using Avast disable "Enable hardware-assisted virtualization" under Settings > Troubleshooting)
Get the download from https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
well, i turned off hyper-v on optional windows components (saim's suggestion). enabled virt in bios. then i went to find the haxm reinstall, and only found this file, C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi (i have a 64 bit box), ran it, and android studio 1.5.1 is happy. windows 10. hope that helps.
You can enable Intel Virtualization Technology from BIOS or if you dont have installed Emulator Acceleator(HAXM) you should install.
Turn off your PC and turn it back on, then instantly hit F10 or the ESC button (whichever works for you) - it will enter you into the BIOS
Use the arrow keys to enter into System Security
Ensure VIRTUAL TECHNOLOGY VTX is checked, then hit F10 to save, and reboot your computer
Now press the Windows key on your keyboard and just type Hyper-V; then click on the top appearing result
Uncheck Hyper-V from there
Now go to the path where you have saved your sdk folder - by default it is saved in C:\
Go to C:\Android\sdk\extras\intel\ and run Hardware_Accelerated_Execution_Manager, then run intelhaxm-android.exe
If it shows a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard", click the finish button to exit the wizard
Open Android Studio again, run your app, and if it doesn't show your virtual devices then click on the small refresh button on the bottom right.
I was having a similar problem. It worked out that I hadn't got the HAXM-Installer installed on my PC.
To do this go to: Tools -> Android -> SDK Manager -> SDK Tools (Tab) -> Check the Intel x86 Emulator Accelerator (HAXM installer) option then click apply (As shown in the image below).
Android SDK Manager (Image)
Related
I'm trying to install HAXM so I can get Android Studio to work but I always get the same error "The system requirements are not satisfied"
This is the report I get after trying to install it, it only says that VMX is not enabled. So I went into BIOS and enabled these two settings.
After that when I run HAXM installer I get same error but diferent report.
Now it looks like VMX and EPT are not suported, and Hyper-V is enabled but it is disabled in Windows Features. I tryed looking thru other threds but I cound find anything. My procesor is i5-5300U and on Intel site it says everything is supported.
If you are using hp device, then you can restart your PC and while its booting, repeatedly press the esc key until a startup menu appears.
Press F10
Navigate to system configuration
Select Virtualization Technology
press enter
Select Enabled and press enter
Press F10 key and select yes to save
It Worked For Me
solved for me
Download HAXM by this link: https://github.com/intel/haxm/releases
ENABLE VT technology in BIOS
Disable Hyper-V in the "Window features" (entire category)
Reboot your PC.
If above steps don't work try next:
https://github.com/intel/haxm/issues/388#issuecomment-860783921
https://github.com/intel/haxm/issues/385#issuecomment-907947835
Don't forget reboot system after the each step.
I'm a new Android Studio user, but I've already done something in the last few days.
I have only a problem with the emulator. I tried to run my code with a normal Virtual Device, but every time I always got the same error:
Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!
Emulator: Process finished with exit code 1
I tried to find a solution in the internet, and I found that the problem was my computer (it is an AMD) and I had to download the "armeabi" version when I created a new virtual device.
It worked (I have no more errors), but my emulator is always black and I cannot see anything. I was forced to use Debug USB on my personal phone, to plug in and use it (and it works) but I'd like to solve the problem with the Android Studio emulator. My Android Studio version is 3.3.1, the latest.
Obviously when I have a preview clicking on the file "activity_main.xml" I can see the right output.
Normally I use Nexus 5 and I've tried with Marshmallow and Nougat.
Increase your VM Heap & try it again.
Tools -> Android -> AVD Manager.
Select a virtual device and click on its pencil icon (edit)
Click on Show Advanced Settings.
Under "Memory and Storage" change "VM Heap"
If above is not helpful, Please Check "Wipe user data" in the Launch Option
Go to Android Virtual Device Manager->Select your device->Start->Check "Wipe user data"->Launch
make sure that Intel x86 Emulator Accelerator is active
I was able to use Emulator in the android studio without any problems. Since today I am getting the error as:
"Emulator: CPU acceleration status: Unable to open HAXM device: ERROR_FILE_NOT_FOUND".
Virtualization is enabled in BIOS, Intel Hardware Accelerated Execution Manager is installed in control panel - programs.
Also tried installing intelhaxm-android.exe from android sdk folder.
Please help with the error.
(i7/16gb/windows 10).
I solved that problem following steps
disabling Hyper-v
reinstalling HAXM
- Android studio -> SDK Manager -> SDK Tools -> Intel x86 Emulator Accelerator
Use Hyper-V instead of HAXM
I had the same error. Disabling Hyper-V avoided this error however it also stopped Docker from working properly.
To use both the Android Emulator and Docker on Windows 10 you need to:
Uninstall the Hardware Accelerated Execution Manager (HAXM)
Enable Hyper-V (check by running "Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online" in PowerShell running as Administrator)
Enable Windows Hypervisor Platform
Restart your computer
Enable Virtualization Technology in your computer's BIOS
Enable Hardware Enforced Data Execution Prevention in the BIOS
Enable Hyper-V and Windows Hypervisor Platform in Control Panel\Programs\Programs and Features -> Turn Windows features on or off
Enable Windows Hypervisor
Microsoft recommends that you use Hyper-V instead of HAXM to accelerate the Android emulator (detailed instructions).
I had the same issue, and solved it by disabling the Hyper-V hypervisor on Windows (from the "Activate/Deactivate Windows Functionalities" menu).
1st you uninstall the hexm everywhere also in android studio :
Download haxm version haxm-macosx_v7_0_0.zip from here Click Me
And Follow this steps : Haxm error in android studio 3.0 with windows requires a digitally signed driver
You can disable hyper-v or you can visit here
You can't run a VM-accelerated emulator inside another VM, such as a VM hosted by VirtualBox, VMWare, or Docker. You must run the Android emulator directly on your system hardware
For me Hyper-V hypervisor was not installed but still I got the error. What I did was I went to SDK Manager->SDK Tools and there I unchecked Intel x86 Emulator Accelerator clicked apply. Closed my Android studio and then reopened Android studio and again went to SDK Manager->SDK Tools and installed Intel x86 Emulator Accelerator by checking the item and clicking apply. And it started working fine.
I had the same problem, but I need Hyper-V for Docker.
So according to the official documentation, you have 3 choices (the second solution helped me):
You have an Intel processor and do not need to run Hyper-V at the same time as the Android Emulator.
Use Intel HAXM.
You have an Intel processor and do need to run Hyper-V at the same time as the Android Emulator.
Use WHPX.
You have an AMD processor.
Use WHPX.
See: https://developer.android.com/studio/run/emulator-acceleration#choose-windows-hypervisor
I recently upgraded Android Studio to 2.0 (Windows) which broke the emulator.
The symptom is that the emulator starts a (single thread) process that takes about 100% of its CPU. Nothing shows on the screen.
Of course, this worked like a charm before the update.
Few things I tried:
Used an AVD created before and after the update
Increased AVD memory to 1G
Delete / Install Android Studio
Used different CPU Architecture (Arm & x86)
Used different versions of API (21 & 23)
I had the same problem I had to reinstall android studio all over again, After that open your SDK monitor press on launch stand alone SDK manager, There scroll down and check if the emulator is installed properly if not install it.
I hope this answer helped you since that's what I did and it works.
A temporary solution:
Go into the AVD Manager, select the Virtual device, and click "Edit"
Find "Emulated Performance" -> Graphics, and switch that from auto (or hardware) to Software.
It won't have quite the performance, but this worked for me. Seems to be that Android Studio 2.0 doesn't play well with certain graphics cards or something.
I downloaded and installed Android Studio but I am not able to install Intel-HAXM (hardware-acceleration for the emulator) because I am unable to turn on virtualization.
I downloaded Speccy and it says virtualization is disabled.
I got into BIOS using F2 on startup and it says Intel VT-x is disabled but there is no option to enable it.
When I run Android Studio I get an error saying I need Intel-HAXM installed. When I try to install intel-HAXM (running as admin) I get an error saying "This computer does not support Intel virtualization technology. HAXM can not be installed".
My laptop is a Samsung NP355V5C running a recent update to Windows 8.1 Basic. I do not have Hyper-V as that is only available for higher levels of Windows 8.1
Also I don't believe I'm qualified to hack my BIOS. Please help me find a way to enable virtualization or to use Android Studio for development without using Intel-HAXM.
Please help me find a way to enable virtualization
See if there is a BIOS update from Samsung. It is possible, though somewhat unlikely, that they have added the ability to toggle Intel virtualization extensions in a BIOS update.
Outside of that, you would need to buy a new computer.
to use Android Studio for development without using Intel-HAXM
Use the ARM emulator images instead of x86 emulator images. These do not require HAXM. However, they run a lot slower than their x86 counterparts.
Here is a screenshot of the AVD Manager from Android Studio:
The "ABI" column indicates what CPU architecture that AVD will use. Those that are listed as armeabi-v7a are ARM images, and they will work on your notebook without HAXM.
However, as I mentioned, they will be very slow, particularly for higher-resolution screens. I suggest using some fairly low-resolution screens (e.g., Nexus S) to get by.