I'm currently have a problem with my Android Studio because I cannot run any application using an emulator.
The full error that comes up when trying to run an application is...
Emulator: emulator: ERROR: x86 emulation currently requires hardware
acceleration!
Emulator: Process finished with exit code 1
I have Intel Haxm fully installed (when running intelhaxm-android.exe it only gives me the option to remove) and have tried using both the API 27 and 28.
Any help would be appreciated :)
I was having the same issue.
Doing the following steps solved the issue.
Check if Virtualization is enabled under BIOS. If not, do so. It is usually under CPU settings.
In Android studio, check that under SDK_Manager>Android_SDK>SDK Tools> Intel x86 Emulator Accelerator (HAXM installer) is checked. If not,check it and press OK. It will install HAXM.
If the problem still persists (Which is the usual case for latest Windows 10 updates), on windows control panel search for Turn Windows features on or off. Put check in Window HyperVisor Platform as below.
Now, run AVD and it should work.
I had the same problem and found out that you need to enable hardware acceleration in the BIOS.
for anyone else having this exact issue i was able to solve this issue by
uninstalling intel Haxm
enable virtualization in BIOS
enable NX/ND bit or execute disable feature in BIOS
re-installing intel Haxm
Try to update your HAXM from SDK manager, i attach my settings for Android Studio 3.1.2 here:
And, remember that you should have installed the correct Android Studio, i.e. 32-bit or 64-bit according to your computer.
---- Edit ----
If still got problems, try the steps here: https://stackoverflow.com/a/31458503/8034839
I have an error when running my app using android studio, but before that it was working okay until an update(Android API27), I have tried uninstalling it but nothing,the warning am getting is;
Emulator:Warning:Quick Boot/Snapshot not supported on this machine.A
CPU + UG feature is currently needed. We will address this in a future
release.
How do I resolve this problem?
a friend just told me the solution, so please find it here!
The issues have to do with the specific device you're trying to emulate and the processor you have (intel core 2 or older)
To solve it:
Create a new emulator
Select the device you would like to emulate.
On the next page with the header "System Image" select the tab "other images"
Download and select an image that is listed as armeabi-v7a under the ABI column.
That image should run successfully with your processor.
That's the solution! Hope it helps :)
The issue might be your CPU hardware. AVD Google API levels 21+ do not run well on CPUs that do not support Extended Page Tables (EPT) and Unrestricted Guest (UG), such as Core 2 Duo. Your best option is to try a system image with AVD Google API level <= 20 on those type of CPUs. You still will see the warning but the emulator will boot up.
Update:
I had further issues and it seems the only way to boot to a usable system image is to go with an armeabi-v7a version on Core 2 Duo chips.
I had the same problem.
I tried to update my HAXM on my windows-7 using this resource file from the official site - software.intel.com. Also available from the Intel HAXM github page.
So as I said after updating my HAXM-Windows from version 6.1 to 7.1.0
my Emulator in Android Studio started to work!!!
Change your Emulator Performance under Tools>ADK Manager to Software - GLES 2.0. This will work if your AVD isn’t among the ones with the playstore icon
see if intel virtualization technology is turn on in your bios. worked for me.
I had the same problem with Hyper-V, so I created a new BCD entry to disable it and be able to install HAXM:
bcdedit /copy "{current}" /d "no Hyper-V"
bcdedit /set "{GUID}" hypervisorlaunchtype off
The message still appears, but the emulator is running with the latest API version and the x86 ABI.
I had the same problem and my cpu is "Intel(R) Core(TM) i3-2350M - 2.30GHz". to resolve it follow the steps:
check the virtualization in bios is Enabled (for intel CPU)
remove intel HAXM from "Add or Remove program" (if exist)
in SDK Manager -> SDK Tools check "Intel x86 Emulator Accelerator (HAXM installer)" and wait to download the program.
go to file explorer to "android SDK location"\extras\intel\Hardware_Accelerated_Execution_Manager and then run "intelhaxm-android.exe"
Reference: official intel video for HAXM
Now go to AVD manager and create an emulator. then run the emulator. if it runs with problem and doesn't work properly (the same as me), as the android studio suggestion create an x86 emulator:
click on the "Create Virtual Device" then select a device and next
Select x86 Images Tab and select one of x86 (ABI) and download it then next
continue to finish and create the emulator.
run the emulator.
I hope it's useful.
I have installed MS VS 2015. I've installed xamarin with all required staff like Android sdk etc. I have this options for xamarin project:
For both options I get this errors:
2>emulator: ERROR: x86 emulation currently requires hardware acceleration!
2>Please ensure Intel HAXM is properly installed and usable.
2>CPU acceleration status: Android Emulator requires an Intel processor with VT-x and NX support. Your CPU: 'AuthenticAMD'
How to fix it?
You find the details in this answer on stackoverflow:
In current AVD manager you can't. You just have the opportunity to use
ARM images which will not need hardware virtualization.
but, have you tried the Visual Studio Android Emulator? This emulator is a lot faster then the images from Google and it's free. We use this Emulator and it works like a charm.
Check the system requirements to ensure, the emulator works on your machine.
Edit
To enable Hyper-V look at this detailted answer. But note:
You must be running Windows 8 Pro or Windows 8 Enterprise. Hyper-V is
not available in basic Windows 8. Same applies to Windows 8.1.
Your CPU may not support Virtualization Technology (VTx)
I am brand new to Android development.
I have installed Android Studio, but the emulator fails to run claiming that intel HAXM is not installed.
The thing is it is installed because when I run the SDK Manager, it tells me it is installed.
I checked online and someone says it only works on machines that support intel virtualization.
I am working on a Surface Pro3 and I have my Windows Phone emulators running in hyper-V and, so I know that virtualization is enabled.
What can I do?
Is there a specific kind of virtualization that is required?
I've seen this before, sometimes your windows machine will tell you it is enabled but it's not or it at least isn't recognized by Android Studio / HAXM / emulator.
There is a post here you can give a look: Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)
One suggestion is to disable it.
Alternatively you can run the emulator as an ARM instead of intel based.
I have a surface pro 2 and Win 10 64 bit. Had to go to "Turn Windows Features on or Off" in Control panel and disbale/uncheck both Hyper-V as well as Windows Hypervisor (this feature is only in 64 bit).
Restart and then try installing IntelHaxm again. You can find that where you SDK is installed. sdklocation\extras\intel\Hardware_Accelerated_Execution_Manager.
You can check you sdk location in Android Studio System Settings > Android SDK.
I have not enabled Hyper V or hardware acceleration and don't want to either.
Is there any way that I can start android emulator for Intel x86 Atom Without hardware acceleration on Windows 8
I have created AVDs with every combination possible and each one has failed to start the AVD emulator instance , throwing the same error when starting
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!
OR is it that, the images given for Intel Atom 86 and 64 cannot run without HARDWARE ACCELERATION AND hyper V for API 21 and 19
I have found lots of similar question and read almost all documentation, but it is not clear if they can or cannot run without hyper v and hardware acceleration, hence this direct question
How do you test on android in such cases ?
In current AVD manager you can't. You just have the opportunity to use ARM images which will not need hardware virtualization.
To run ARM images:
Open AVD manager.
Create a new 'Virtual Device' OR right click an existing image and select 'Duplicate'
Choose arm* instead of x86/x64.
Continue with the wizard.
Run!
Although this is the available solution but still a slow one !!
You can still force the use of the soft x86 emulator by running it from the command line and using the -no-accel option, i.e.
from the SDK/tools directory:
emulator -avd AVD_NAME -memory 768 -no-accel -gpu on
BUT this still won't work with the current (V24) SDK, because the current x86 system images crash the soft x86 emulator :-(
The only way I got this working again was to downgrade the SDK tools to V22.3 from here:
http://dl-ssl.google.com/android/repository/tools_r22.3-windows.zip and to buld an AVD using a downgraded system image, for instance https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-17_r02.zip. (So this is no help if you need to test on more recent versions of Android).
Google have moved on to an updated version of their emulator based on a more recent version of qemu, and provide binaries for arm and mips emulators, but have omitted to ship the x86 equivalent (there is no emulator-ranchu-x86.exe and emulator64-ranchu-x86.exe). If they did so, or if someone else went to the trouble of setting up and compiling their emulator source with the "x86" flag on, then _x86 soft emulation could conceivably be made to work again.
Short Answer: No. Until recently(about 1 month ago), you could do that but with the latest updates, it is not possible. (see Update to Android SDK Tools 23.0.5 and avd doesn't start).
I was doing something similar: Doing development in a virtual machine and hence couldn't use the Hardware acceleration features as they are available only in the host machine. I was using Intel x86 images with Use Host GPU option; as they were much faster than the ARM version even without hardware acceleration. But then, after this update, my emulator AVDs which were working earlier are no longer starting with the same exact error message. Also, both genymotion and Xamarin Android emulators can't be used as they also need hardware acceleration(they are actually VMs which use Hardware acceleration for speed, and hence can't be run inside another VM).
I have found this solution but haven't tried it yet. The basic idea is that to still develop inside a VM; but for testing connect to an Emulator running on the host machine(and this Emulator VM can now use the hardware acceleration feature).
Same issue as in Error in launching AVD:
1) Install the Intel x86 Emulator Accelerator (HAXM installer) from the Android SDK Manager;
2) Run (for Windows):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
or (for OSX):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHAXM_1.1.1_for_10_9_and_above.dmg
3) Start the emulator.
The usage of the Hardware acceleration depends on the System Image you choose on the emulator.
So,
Go to AVD manager, create virtual device, select hardware, click next.
Choose the System Image that does not require HAXM (hardware
acceleration) for running. (That is appears at the right bottom of
System image window.)
Note: for other systems that require HAXM, there no way to run them without hardware acceleration.
use bluestacks as a emulator for best performance. blusestack working fast without hardware based emulation
To connect bluestack to android studio.
Close Android Studio.
Go to adb.exe location.(Bydefault its C:\Users\Tarun\AppData\Local\Android\sdk\platform-tools)
Run adb connect localhost:5555 from this location.
Start Android Studio and you will get Blue Stack as emulator when you run your app.
Is there any way that I can start android emulator for intel x86 atom Without hardware acceleration on windows 8
Not with the standard Android SDK emulator, as it requires Intel's HAXM, and HAXM wants virtualization extensions to be enabled.
Whether Genymotion or something else from another independent developer can support your desired combination, I cannot say.
refer intel.com's requirements : 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
[Installation Instructions for Intel® Hardware Accelerated Execution Manager ] https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
My PC does not support vt-x, I can not use android studio 1.0.2.
yes is possible to run your android emulator without have a hardware accelerator.
In fact to do that, you need to open your android virtual device.
When you reached to system image configure, it suggest you which version of android image you want to use.
Whatever version of android system image that you select,you need to make sure that,ABI is armeabi-v7a and, you target is System image ameabi-v7a with google APIs.
And then complete the rest of task and check out your emulator.
You need "VT-x supported processor" at least to run Android emulator with Hardware acceleration.
If you have enabled or installed "Hyper-V" in your windows 8 then please remove it and disable the "Hyper threading" and enable "Virtualization".
I've run into the same problem, I found the solution at http://developer.android.com/tools/devices/emulator.html#vm-windows
Just follow this simple steps:
Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager.
After the download completes, run [sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe
Follow the on-screen instructions to complete installation.
I have a pc with intel c2d without hardware accelaration i am having same problem in android studio. firstly i get bored with android studio and installed eclipse+sdk+adt then i have installed every thing and started emulator it worked then the same emulator worked in android studio for direct launching application in android studio and i have also runned the sample app that emulator so you can run android studio without virtualization technique even your processor does not sopport vt-x
When Run 'app' (green triangle):
In Device Chooser select Launch emulator and click the button [...]
Rigth click on Nexus (or other) click on Duplicate
In the O.S. (Android 6.0 example) click change:
Clic on Show downloadable system images.
Look for armeabi-v7a O.S. and click download.
Set this O.S. in the device.
Finish, and choose this Device for the emulation.