Android Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26521014/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled
提问by DaCheng.Xu
I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me.
I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me.
When I try to start my x86 emulator, it tells me:
When I try to start my x86 emulator, it tells me:
Starting emulator for AVD 'X86'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).
But the AVD shows me that I had installed HAXM.
But the AVD shows me that I had installed HAXM.
When I try to install by myself again, installer prints VT/NX NOT ENABLED
.
When I try to install by myself again, installer prints VT/NX NOT ENABLED
.
I can not post any images…
I can not post any images…
to mindex's answer:
to mindex's answer:
I tried running all versions of Intel HAXM I could get:
I tried running all versions of Intel HAXM I could get:
IntelHAXM_1.0.8.dmg
IntelHAXM_1.1.0_for_10.10.dmg
IntelHAXM_1.1.0_below_10.10.dmg
But it did not work.
But it did not work.
回答by Nick Fortescue
From the Intel Instructions
From the Intel Instructions
"The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to finish installation.
"The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to finish installation.
Extract the installer inside the "extras" directory and follow the installation instructions for your platform."
Extract the installer inside the "extras" directory and follow the installation instructions for your platform."
回答by DaCheng.Xu
Goto the SDK managerin your IDE and install the latest "Intel HAXM" and start the emulator.
Goto the SDK managerin your IDE and install the latest "Intel HAXM" and start the emulator.
If it is throwing the error as
If it is throwing the error as
Starting emulator for AVD 'X86'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).
It means that some hardware graphical features are to be assigned.So to overcome this problem just go to the path where you have your Adroid SDK
installed.
It means that some hardware graphical features are to be assigned.So to overcome this problem just go to the path where you have your Adroid SDK
installed.
Windows
Windows
C:\Android\SDK\extras\intel\Hardware_Accelerated_Execution_Manager
C:\Android\SDK\extras\intel\Hardware_Accelerated_Execution_Manager
There you can find the file intelhaxm-android.exe
.
There you can find the file intelhaxm-android.exe
.
Mac OS X
Mac OS X
On Mac OSXthere is a IntelHAXM_X.X.X.dmg
file, mount it and you'll find an mpkg-file.
On Mac OSXthere is a IntelHAXM_X.X.X.dmg
file, mount it and you'll find an mpkg-file.
Install the file and restart all the applications using android emulator such as(android studio,cmd etc..,).
Install the file and restart all the applications using android emulator such as(android studio,cmd etc..,).
Now try to open the emulator it will work fine
Now try to open the emulator it will work fine
回答by mindex
You might be running an older version of Intel HAXM (or haven't installed it at all). Go to https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-managerand download/install the latest Intel HAXM package for MAC OS X.
You might be running an older version of Intel HAXM (or haven't installed it at all). Go to https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-managerand download/install the latest Intel HAXM package for MAC OS X.
EDIT: according to https://software.intel.com/en-us/forums/topic/506790you should also make sure that Virtual PC/Parallel/VMWare is not running.
EDIT: according to https://software.intel.com/en-us/forums/topic/506790you should also make sure that Virtual PC/Parallel/VMWare is not running.
回答by Varun
Version 1.1.1 is the correct version for Yosemite. You need to download this directly from intel's site: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager.
Version 1.1.1 is the correct version for Yosemite. You need to download this directly from intel's site: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager.
The one downloaded by SDK Manager is the older version (1.1.0). If you still want to run with version 1.1.0 - refer to the solution here - http://www.csell.net/2014/09/03/VTNX_Not_Enabled/
The one downloaded by SDK Manager is the older version (1.1.0). If you still want to run with version 1.1.0 - refer to the solution here - http://www.csell.net/2014/09/03/VTNX_Not_Enabled/
回答by user2395959
In my case running Yosemite in VMWare Workstation 10.0.5 I had to:
In my case running Yosemite in VMWare Workstation 10.0.5 I had to:
1) Set kext to dev mode (might not be needed anymore .... try first without it)
1) Set kext to dev mode (might not be needed anymore .... try first without it)
sudo nvram boot-args="kext-dev-mode=1"
Then reboot (power down VM) for step 2) below.
Then reboot (power down VM) for step 2) below.
Details here: http://www.csell.net/2014/09/03/VTNX_Not_Enabled/
Details here: http://www.csell.net/2014/09/03/VTNX_Not_Enabled/
2) Add vhv.enable = "TRUE" to my VMX file and restart the VM
2) Add vhv.enable = "TRUE" to my VMX file and restart the VM
Details discussed here: https://communities.vmware.com/thread/416997?start=15&tstart=0
Details discussed here: https://communities.vmware.com/thread/416997?start=15&tstart=0
3) Install HAXM 1.1.1 as discussed above from the Intel 's site
3) Install HAXM 1.1.1 as discussed above from the Intel 's site
(would love to post more links -> but have limit for 2 -> so vote for me so next time you will gert more .. :-))
(would love to post more links -> but have limit for 2 -> so vote for me so next time you will gert more .. :-))
回答by Md. Enamul Haque
1.To install the virtualization driver:
1.To install the virtualization driver:
Start the Android SDK Manager, select Extrasand then select Intel Hardware Accelerated Execution Manager. After the download completes, execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.Follow the on-screen instructions to complete installation.
Start the Android SDK Manager, select Extrasand then select Intel Hardware Accelerated Execution Manager. After the download completes, execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.Follow the on-screen instructions to complete installation.
2.If it show any problem restart your computer and inter in BIOS an enable Virtualization Technology ...
2.If it show any problem restart your computer and inter in BIOS an enable Virtualization Technology ...
3.To see your possessor is capable to virtualization go to the bellow link http://ark.intel.com/Products/VirtualizationTechnology
3.To see your possessor is capable to virtualization go to the bellow link http://ark.intel.com/Products/VirtualizationTechnology
回答by gvisgr8
In many cases some antivirus also start HyperV with window start and does not allow HAXM to install. I faced this issue because of AVAST antivirus. So I uninstalled AVAST, then HAXM installed properly after restart. Then I re-installed AVAST.
In many cases some antivirus also start HyperV with window start and does not allow HAXM to install. I faced this issue because of AVAST antivirus. So I uninstalled AVAST, then HAXM installed properly after restart. Then I re-installed AVAST.
So its just a check while installing as now even with AVAST installed back, HAXM works properly with virtual box and android emulators.
So its just a check while installing as now even with AVAST installed back, HAXM works properly with virtual box and android emulators.
回答by Osama AbuSitta
Try to install Integrated Native Developer Experience
" Is a cross-architecture productivity suite that provides developers with tools, support, and IDE integration to create high-performance C++/Java* applications for Windows* on Intel? architecture, OS X on Intel? architecture and Android* on ARM* and Intel? architecture."
Try to install Integrated Native Developer Experience
" Is a cross-architecture productivity suite that provides developers with tools, support, and IDE integration to create high-performance C++/Java* applications for Windows* on Intel? architecture, OS X on Intel? architecture and Android* on ARM* and Intel? architecture."
回答by mehran zolqdr
For IntelHAXM to install you have to activate Intel Virtual Technology.
For IntelHAXM to install you have to activate Intel Virtual Technology.
To activate it, you have to restart your PC and go to BIOS. There is an option called Intel Virtual Technology that you have to enable to activate it.
To activate it, you have to restart your PC and go to BIOS. There is an option called Intel Virtual Technology that you have to enable to activate it.
After enabling it, reinstall IntelHAXM. That should solve the problem.
After enabling it, reinstall IntelHAXM. That should solve the problem.