Initally I had the problem
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I installed "Intel X86 Emulator Accelerator (HAXM Installer)".
after that i restarted eclipse
Tried to run my android application by right click-run as -android application
But found that the emulator is not getting started
If you have Windows 8.1 with an Intel Processor and you are trying to install Android Studio you will most likely get the following bug when you try to run the Android emulator:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
The best thing to do is first get to your BIOS screen. On Windows 8.1 the way to do that is press the Shift key and restart. (Yep, it's true, it's not the normal Esc, F2 or F10). It really is shift and restart. You MUST be holding shift key down while going to restart or it doesn't work.
Once you do that a few times and actually get a blue screen with some options on it.
You should see Continue, Use a Device, Troubleshoot, Turn off PC:
Pick Troubleshoot
Then you should see Refresh your PC, Reset your PC, Advanced Options:
Pick Advanced Options
Then you should see a screen that says System Restore, System Image Recovery, Startup Repair, Command Prompt, UEFI Firmware settings, Startup Settings:
Pick UEFI Firmwhere settings.
Then it will tell you to restart to change settings and hit the restart button to do so.
Then, you will see a BIOS screen with the menu Information, Configuration, Security, Boot, Exit:
Pick Configuration.
Under Configuration hit arrow down until you get to Intel Virtual Technology.
Enable it.
Then, go to Exist and navigate down to Exit and save changes.
Confirm you want to save changes.
On your Android SDK Manager go to the Extras directory and under that you will see Intel x86 Emulator Accelerator (HAXM installer)
if it is not installed, install it.
If it is installed, it's not really installed quite yet (but if you don't install it first, the next part won't work. Next download the installer from the website separately from here https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
It will be a zipped file, unzip it and then once unzipped click to install. Don't pick the default values. 1024 mb is not enough memory, do the 1.5Gb option.
If you don't install it right the first time or options don't wok for you, just follow the installation steps again and configure the memory setting. (The only way to change it is to re-install but to pick the option to fix instead of complete re-install).
And after that it worked for me. I found some of the previous things on Stack Overflow but their solutions didn't work so after this maybe it was Intel core specific on windows 8.1.
Related
I am new to Android Studio. I am still receiving that familiar error:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I checked the SDK Manager, and the box for HAXM is already checked and installed.
So I attempted to reinstall it manually under the extras folder in the SDK directory, but the problem is that intelhaxm-android.exe doesn't run even with administrator credentials. I opened and authorized it, but nothing happened.
I also tried the Intel stand alone installer, and that gives the same result.
Please help!
i had the same issue. I could fix it with disabling Hyper-V on my Windows Machine.
Go to Settings -> Turn windows features on or off -> uncheck Hyper-V
After rebooting the system intelhaxm was running.
You might have seen a hundred questions already by the same title so let me just tell you why mine is different:
Here's the error:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I've already installed HAXM installer from the sdk manager
When I actually go to install HAXM, it says that my computer doesn't support virtualization
True that. I have Intel Pentium E2180
My hyper -v is already disabled
My BIOS doesn't have an "enable virtualization" option (which is obvious because my processor doesn't support it)
Since all the solutions on stack overflow revolve around the above mentioned points I decided to post this quesiton as all the mentioned solutions didn't work, which I think is precisely because of me not having a supported processor, which brings me to my question:
Can I still somehow run a virtual device to test my apps? I have a Nexus 7 tab, but I still think testing on a virtual device is more convenient and also I can test more devices if they're virtual..
P.S. I'm running Windows 10 (technical preview) Build 9926.
In this case you can download and use ARM images that do not need hardware virtualization instead of using x86 system images. Need to tell you that ARM images will be very slow compared to x86 images.
You can download ARM image of respective APIs by selecting this option.
In order to run the emulator you have to use ARM image, because your PC doesn't support HAXM
Create a new AVD(Android Virtual Device) and on creation select image that uses ARM(such as armeabi-v7) so it will be emulated on your PC.
Here's picture of image selection
If you don't have any arm images installed, you can download one from SDK manager
Or else you can use Genymotion emulator which is very fast and lightweight
Genymotion
It might still work if you launch the emulator from the command line with the -no-accel switch:
Go to your SDK install directory
Go to the tools folder
Open a command/terminal window
Type emulator -avd Nexus_5X_API_23 -no-accel (replace Nexus_5X_API_23 with the name of the AVD you've set up in Android Studio / Android Developer Tools)
I have Windows 7 as well as Android SDK and Eclipse. It works but the problem is that when I Create AVD With Intelx86, Android 5.1 and launch it it shows this error: it shows same screen for Phone as well as for Android Wear.
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I Have Avast antivirus on my machine. somewhere i read avast blocks intel HAXM acceleration. i tried with disabling Antivirus. but its not works.
Don't simply disable avast, you either have to uninstall it or go to settings > troubleshooting > disable virtual something. Remember, even if you have installed the HAXM with the sdk uploader, you must find the .exe file in your sdk folder and execute it. If you have to do any software changes (like the above mentioned avast change) you must restart your computer before you can install the HAXM software to your computer.
I've just set up a new PC with Android Studio, and can't launch any Virtual Devices. When I start a device I get the message-
Starting emulator for AVD 'Nexus_5_API_21_x86'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
When I run the HAXM installer, it says
This computer meets the requirements for haxm but intel virtualization is not turned on
But in BIOS its definately ticked as being ON.
Any ideas why I can't get it working ?
Thanks.
so some antivirus prevent HAXM running, and make sure you don't have Windows Hypervisor running. (Under programs list, windows, under H).
It could be you need to set your NX (XD) bit to on. As admin run from command line:
bcdedit /set nx AlwaysOn
Otherwise what is your CPU?
Windows 8. Android Studio.
Make sure if virtualization is enable : go through those steps provided below.
Goto setting -> change pc settings-> general->then see on right side
by scrolling the frame down-> you will see under advance start up
restart now button press it->then choose an option window will
open->choose troubleshoot->under troubleshoot choose Advance
option->then under Advance options choose UEFI Firmware option->then
press restart->press f10 for BIOS->see the menubar where you will
find system configuration menu inside it you will see the
virtualization Technology "enable" it ->now go for exit saving
changes in exit on menu bar..
C:\Users\username\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
(in username : please enter valid user name)
install it and restart your Android Studio.
if you make few changes on above process it is same for win 7 and also same for eclipse
hope it helps have fun!!
I'm developing a suite of mobile apps - specifically Windows Store/Mobile 8 and Android.
Having installed VS2012 and then Monodroid, I was then able to start x86 Android images in the emulator and take advantage of the Intel HAXM acceleration (emulator output confirms HAXM working) to make the VM buttery-smooth.
I then installed the Windows Phone 8 SDK - which enables the Hyper V role - and now the emulator says it can't find HAXM. I then uninstalled and tried to reinstall HAXM, but now it won't - saying that my processor doesn't support it.
The VT-x extensions are still enabled in the BIOS - so I'm thinking that Hyper-V has blocked the Intel HAXM from working.
Of course it's not a killer - but a non-accelerated Android image is considerably slower than one with HAXM enabled - anybody else encountered this problem? Googling isn't bringing up anything obvious...
Update (30th Nov 2012)
Per #alexw's suggestion I tried stopping & disabling Hyper-V; with a restart. It still doesn't work.
I realise the next step is probably to the Windows Phone SDK (and remove Hyper-V) and then try again - to confirm that it really is the presence of Hyper-V. At the moment this is less than convenient - but I'll try and do it soon and update.
The best thing you can do to get HAXM detect VT again, is turning the whole Hyper-V "Feature" off. Open "Control Panel -> "Programs" -> "Turn Windows features on or off" (under "Programs and Features") and locate "Hyper-V", uncheck, reboot.
Looks like Hyper-V and HAXM are mutually exclusive, which is kind of a nuisance, because you even need to reboot twice to enable or disable either feature.
I was in your same case that needed to support Hyper-V and Intel HAXM. Disabling and enabling the feature and then restarting was overkill so I found an alternative solution.
You can create 2 boot entries, one for Windows with the regular configuration of Hyper-V enabled and another one with Hyper-V disabled. I logged in with the second one (Hyper-V disabled) and I was able to install Intel HAXM.
To accomplish this you need:
Open a command prompt as Administrator
Enter the command: bcdedit /copy {current} /d "Windows 8 - No Hyper-V"
This will output an id with the format {GUID} that you need to copy it to use it in the next command.
Enter the command: bcdedit /set { copied GUID of step 3 } hypervisorlaunchtype off
More details in this post.
I had a similar problem installing HAXM on Windows 8. I did the following with no effect:
Disabled hypervisor using the instructions here (http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx)
Double checked that processor supported VT-x and was enabled in BIOS (BIOS said "supported", but there was no option to turn it on
Verified that all Hyper-V services in control panel were stopped (and never automatically started)
Performed a complete shutdown and a cold boot up.
However, I tried installing VirtualBox after the above actions (VirtualBox installed fine) and created a new VM. Running the VM caused my machine to blue screen, but after the reboot HAXM installed fine. Perhaps running VirtualBox flips some sort of flag at the OS level to allow HAXM to install.
I was also running AVAST at that time, and according this (Running the new Intel emulator for Android), that may cause a problem. However, I didn't have to disable AVAST to get HAXM installed.
You could try stopping the Hyper-V service when not needed and re-enabling it when you want to work on a WP8 project. It's a pain but the performance improvement offered by HAXM is immense.
Open services.msc, find the hvboot service (Hyper-V) and stop it. If this doesn't help you may need to disable the service and restart your pc.
I had the same problem. After a long search I found the answer. In my case, I had installed Avast Antivirus, first uninstall avast, reboot your PC, install Haxm, reboot. you can install again antivirus.