ANDROID STUDIO emulator ERROR x86 emulation currently requires hardware acceleration - android

I am a newbie in Android am I have just installed Android Studio on my machine which runs on Ubuntu 14.04 LTS. When I try to run the virtual device I get this error
/home/james/Android/Sdk/tools/emulator -avd Nexus_5_2014_API_21 -netspeed full -netdelay none
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
Anyone with a solurion for this?

I too faced the same problem, but it was solved once it by following steps
In android studio Go to Tools--> Android---> AVD Manager
For existing emulators in the list Click Edit on the right side corner.
In the edit window change the system image
Now in the list of images select 'RelaseName' and 'API level' of your choice but 'ABI' should be 'armeabi-v7a'
press OK the setting and click finish
my problem is solved with these simple steps
hope this helps to solve your problem

I found the solution....One must first check whether the machine can support KVM by typing this in the terminal
$ kvm-ok
Output:
INFO: /dev/kvm exists
KVM acceleration can be used
After that reboot and enable virtualization in the bios

Related

Hardware acceleration doesn't work in Android Studio despite intelhaxm being installed

I have intelhaxm installed and use a quite new Lenovo Thinkpad. When I try to start an emulated device I get the error message:
Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration
What do I have to do to get start the emulator?
(I don't get the error message HAX kernel module is not installed that the linked question is about)
In android Studio Go to
File->Settings-->Apperance&Behaviour-->System Settings-->Android SDK-> then tap on SDK Tools and update the Intel x86 emulator Accelator
Download the HAXM manager and install it manually.
https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
It turns out that I had to deinstall and then reinstall HAXM. When I reinstalled it told me that there might be a conflict with Hyper-V visualisation and after I switched that off it finally worked.

Android Studio AVD not working HAXM not installing

When I'm running AVD and select a device to run, if I use armeabi-v7a then the loading screen appears and after it loads it just disappears and no virtual device shows up.
When I change it to x86 then I get this error
" Cannot launch AVD in emulator. Output: 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! "
So I installed it using SDK manager but I got this error
"Failed to configure driver: unknown error. Failed to open driver"
so I used this workaround patch
https://software.intel.com/en-us/blogs/2013/04/25/workaround-patch-for-haxm-installation-error-failed-to-configure-driver-unknown
but when I run "hax_extract" windows command script it just opens up and closes(I even turned off Firewall and Right now I dont have any antivirus installed either) and still I get the same errors when opening the emulator.
I'm using Windows 10 and according to "Intel(R) Processor Identification Utility" Virtualization is enabled.
Using Asus Z97 Maximus VII HERO mobo
Intel I7 4790k
Please help.
Firstly, make sure that you have enabled the VT in Bios. Notice that "Intel(R) Processor Identification Utility" just tells you that the Virtualization is supported, not enabled certainly.
Secondly, make sure that you have disabled the Hyper-V if you have used Hyper-V in your Windows. You can go to http://www.poweronplatforms.com/enable-hyper-v to disable it.
Under normal circumstances, the problem should be solved. However, if you still get same error, you can try this: disable secure boot in BIOS, and then install haxm. This is my final solution when I once encountered such problem.
Good luck!

Unable to launch AVD in emulator from Android Studio in Ubuntu 32 bit

Cannot launch AVD in emulator.
Output: emulator: ERROR: x86_64 emulation currently requires hardware
acceleration! Please ensure KVM is properly installed and usable. CPU
acceleration status: KVM is not installed on this machine (/dev/kvm is
missing).
I tried several steps mentioned in related posts but nothing worked fine. That's why posted here.
Why not try to use Genymotion as your emulator? It is a fast emulator.
As the error message mentions you should set up kvm at first.
Set up kvm on your Ubuntu machine as refering the official Ubuntu help.

emulator in Android studio,pls help_me

//this is problem
"C:\Android SDK\adt-bundle-windows-x86_64-20140702\sdk\tools\emulator.exe" -avd Srdjan -netspeed full -netdelay none
Note: The environment variable $ANDROID_SDK_HOME is set, and the emulator uses that variable to locate AVDs.
This may result in the emulator failing to start if it cannot find the AVDs in the folder pointed to by the
given environment variable.
ANDROID_SDK_HOME=C:\Android SDK\adt-bundle-windows-x86_64-20140702\sdk
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 had same problem and so I did everything I could possibly find online, and nothing worked. But finally Android studio and emulator loaded successfully.. :)
****Just go to your machine's BIOS setting and enable the Intel Virtualization Technology (VT-x).****
After that I went to the Intel website, and I downloaded the HAXM installer that they provide (instead of using the one downloaded through Android Studio).
It works.. :)
it occurred when you not install HAX or use X86 or X64 system images on AMD cpu
you have to install armeabi system images from sdk manager
a better solution is that use Genymotion emulator
You might need to install some packages with the Package Manager.
Try these instructions?
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

Error in launching AVD on Windows 7 Android studio

I am trying to start emulator on newly installed Android Studio but I am getting following 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 tried to install HAXM from extras but I keep on getting following error:
VT not supported
then I tried this about which I read in another forum:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
but its also failing with below error:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.18489
Error: 0x800f080c
Feature name Microsoft-Hyper-V is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.
Although I checked from BIOS setup that my processor supports VT and its enabled in BIOS.
My system configurations is:
Intel i5 2410,
Windows 4 64-bit,
JDK7,
Android SDK 24.0.1,
Android Studio 1.0.1,
Please help to solve this issue if anyone has been able to solve it earlier.
I had this issue and it was caused by VirtualBox. After uninstalling VB everything worked fine but when I was doing some research about this problem it seemed like other things can generate this error. If you have virtualBox try to uninstall it, if you don't well... sorry, can't help.

Categories

Resources