android studio: unable to turn on the emulator - android-studio

The error I get is:
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 believe it is asked once per week and I have search for different solution but still fail
In the installation, I get the same message as the first image of the follow post.
Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)
The solution I have tried:
1. disable and enable the VT in the bios----same problem in installation of Intel haxm
2. disable the Hyper-V ---------------------Seem my windows do not conation Hyper-V
3. download the workaround patch released by Intel in
http://software.intel.com/en-us/blogs/2013/04/25/workaround-patch-for-haxm-installation-error-failed-to-configure-driver-unknown
whew execute the .cmd file, it just jump up the cmd for half an second and not thing is happened.
In my process, I have stop my avast anti-virus, and I am using windows 8.1.
Could anyone help?

A couple things you haven't tried :
bcdedit /set nx AlwaysOn (to make sure XD bit is on)
bcdedit /set hypervisorlaunchtype off
(and reboot)

Related

Haxm - the system requirements are not satisfied

i have been trying to install haxm for last few days..vt in my boot menu is enabled.. i also runned
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype offdism.exe /Online /Disable-Feature:Microsoft-Hyper-V
on my command prompt after seeing on a yt video...still it isn't installing..when i tried to install manually it says system requirements are not satisfied
here is a screenshot
and,when i run my emulator on android studio..it shows nothing but black screen
can anyone please give solution how i can install haxm on my device
my pc specifications are given here
This only works on hp devices:
Restart your device. As it starts turning on, press the Esc key repeatedly until it opens a startup menu. Press f10 to open the Bios.
Select System Configuration
Select Virtualization Technology
Use the arrow key to enable it.
Then restart your device
Your CPU does not support EPT but does support VT-x. A CPU that supports both should have these lines in it's specification:
Intel® Virtualization Technology (VT-x) Yes
Intel® VT-x with Extended Page Tables (EPT) Yes
EPT is required by haxm. Some older Intel CPU models support VT-x but do not support EPT.
Open cmd and run : bcdedit /set hypervisorlaunchtype off
Disable hyper V Disable
windows platform virtualiszation
and it should work

Unable to install Android Emulator Hypervisor Driver for AMD Processor

I am unable to install Android Emulator Hypervisor Driver for AMD Processor.
It is to be noted that virtualization is enabled.
Emulator Process for AVD was killed shown while running the code in Visual Studio while trying to install the Hypervisor Driver in Android Studio.
Error is also shown in Android Studio while installing the Hypervisor Driver:
What to do now? Thanks.
If you are using AVAST antivirus, It will not work .. So open Avast antivirus UI and go to Menu / Setting / troubleshooting and clear the tick on (( Enable hardware-assisted virtualization )) and restart. It will be installed.
First you should try to see if you have Hyper-V enabled. In most cases, the newer computers use it for hardware acceleration but it doesn't share with other virtualization apps, so to run this on an AMD or Intel VT-x first check if you have Hyper-V installed (go to your control panel, then in Programs and Features window, click “Turn Windows features on or off.” then look for Hyper-V and clear the checkbox then click OK.
If that doesn't work check your BIOS permissions, you can go to advanced CPU configuration or chipset and
find the "Intel Virtualization Technology", enable this option,
or
on AMD enable the SVM
then Save and Exit.
If you are using AVAST antivirus, It will not work .. So open Avast antivirus UI and go to Menu / Setting / troubleshooting and clear the tick on (( Enable hardware-assisted virtualization )) and restart. It will be installed.
This method by Tamer works for me but you have to restart your computer for it to be effective.
I had the same challenge when trying to add Bluestacks as an emulator in Android Studio and this was my solution.
Open PowerShell as Admin and do this command:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
A restart should follow and all should be fine.
I'm not sure why you tried installing an AMD Virtualization driver for your Intel-CPU. As other people already suggested, try to install the Intel-Driver instead.
The installation probably failed because the program detected your not using an amd-cpu, so there's no point in installing it.

Can't install Intel HAXM. Tried everything I can

So, I am trying to work on Android Studio. But I can't install Intel HAXM.
I am running Windows 7 and latest android studio
I tried installing from SDK. It installs perfectly but, then "HAXM device not found".
I tried installing different versions of HAXM manually. But everytime these errors pop up, when I do it manually. The errors:
error1
error2
error3
error4
error5
Things I've tried includes:
Enabling Vt-X in advanced BIOS options
Disabling Hyper-V
Installing update of windows suggested in another thread. Windows6.1-KB3033929-x64.
Tried Driver Signature Enforcement Overrider
I can't even remember anymore.
Please Help
What type is your processor? The problem with HAXM is what can installed if you have a processor is not Intel. for this reason some peaple use a emulators like bluestacks o something similar. Good Day!

Hardware Acceleration issue with emulator on Android Studio

I installed Android Studio and fired up the default emulator (Nexus 5 API 23), but got the following error message:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM must be updated (version 1.1.5 < 6.0.1).
It seems that a lot of people already encountered this issue and the solution would be to install Intel x86 Emulator Accelerator, but in my case, it is already installed.
Another thing I read is:
After you download it and make sure you run the setup located in: {SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
I'm on a 2015 retina Macbook though, so this is not an option.
Also when creating a new Virtual Device, the error message remains the same.
What can I do to get a working emulator?
Thanks in advance!
You should mount and run the IntelHAXM_1.1.4.dmg file located in {SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager
Actually problem is that HAXM is downloaded but not installed.
So you should run executable file and install new version of HAXM.
HAXM path: {SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager

HAX kernel module is not installed - AMD processor

I've recently installed Android Studio and I'm trying to run a Hello World app to see that everything works as it should. Which it evidently doesn't. I've followed every step on the Android Developer site for setting up Android Studio, yet I get this error when I try to run my app:
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 searched for a bit and realized that HAXM is for Intel processors, and I'm running an AMD processor. I tried installing the emulator Bluestacks as suggested in this thread but it didn't help at all. Has anyone got a clever solution to this problem?
You might as well uninstall HAXM, only works with Intel processors.
A lot of answers in this forum have pointed to using genymotion (https://www.genymotion.com/) with AMD processors
This is what you need to do to fix this issue:
1) Navigate to the following path:
C:\Users\Main\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
2) Run intelhaxm-android.exe as an administrator.
3) Once the installation is complete, Run your project and you will be able to run android emulator on your machine.
Hope this helps.

Resources