HAXM安装失败,声称VT-X不存在。

时间:2022-03-16 20:50:11

I'm having difficulties trying to install HAXM for my emulator in Android Studio. I have an hp2000 notebook; I updated Windows 8.1 to Windows 8.1 Pro to activate the Hyper-V feature and I even went to system settings to enable virtualization, but am still getting "This computer does not support Intel virtualization (VT-x). HAXM cannot be installed. Please refer to the Intel HAXM documentation for more information."

我很难在Android Studio中为我的模拟器安装HAXM。我有一个hp2000笔记本;我更新了Windows 8.1到Windows 8.1 Pro,以激活Hyper-V功能,我甚至去了系统设置来启用虚拟化,但我仍然得到了“这台计算机不支持Intel虚拟化(VT-x)”。HAXM不能安装。更多信息请参考Intel HAXM文档。

My Android Studio SDK manager is showing that it's installed.

我的Android Studio SDK管理器显示它已经安装好了。

9 个解决方案

#1


8  

Just follows these steps:

只有遵循这些步骤:

Go to Control Panel → Program and Feature. Click on Turn Window Features on and off. A window opens. Uncheck Hyper-V option and restart your system. Now, you can Start HAXM installation without any error.

去控制面板→程序和功能。点击打开和关闭窗口功能。打开一个窗口。取消Hyper-V选项并重启系统。现在,您可以启动HAXM安装,而不需要任何错误。

Hope this works @Keis

希望这作品@Keis

#2


5  

This procedure worked perfectly for me. Hope this helps.

这个程序对我来说很完美。希望这个有帮助。

  1. F10 (Computer Set Up) - BIOS - Security -System Security -Enter - Virtual Technology (VTX)-Enable-FileSave and Exit
  2. Goto sdk Folder: F:\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager Run intelhaxm-android.exe
  3. Goto sdk文件夹:F:\安卓\sdk\ \ \ \intel\Hardware_Accelerated_Execution_Manager运行intelhaxm-android.exe。
  4. You should be seeing a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard. Click the Finish Button to exit the wizard"
  5. 您应该看到一个对话框,其中引用了“完成的Intel硬件加速执行管理器设置向导”。单击Finish按钮退出向导“

Once this works, open android studio, and try running the emulator. You should be seeing "HAX is working and emulator runs in fast virt mode"

一旦完成这个工作,打开android studio,并尝试运行模拟器。你应该看到"HAX正在运行,模拟器运行在快速virt模式"

#3


2  

After enabling the virtulization in-bios do hard restarting via power button solved my problem:). I read in intel blog to do so. So try this option it may help:)

在启用了bios中的虚拟化后,通过电源按钮重新启动了我的问题:)。我在intel的博客上读到这样做。所以尝试一下这个选项可能会有帮助:)

#4


0  

You must have an Intel processor that supports virutalization and ND bit on. You can check http://ark.intel.com to tell.
to set ND bit you can use bcdedit /set nx AlwaysOn
to set virtualization properly once enabled in BIOS you can type
bcdedit /set hypervisorlaunchtype off
If you're using Avast
disable "Enable hardware-assisted virtualization" under Settings > Troubleshooting)
Get the download from
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

你必须有一个支持virutalization和ND比特的Intel处理器。你可以查看http://ark.intel.com。要设置ND位,您可以使用bcdedit /set nx AlwaysOn在BIOS中适当设置虚拟化,如果您正在使用Avast禁用“启用硬件辅助虚拟化”,那么您可以在bcdedit /set hypervisorlaunchtype关闭,从https://software.intel.com/en-us/android/articles/intel-hardware-accelerated- executionmanager下载。

#5


0  

well, i turned off hyper-v on optional windows components (saim's suggestion). enabled virt in bios. then i went to find the haxm reinstall, and only found this file, C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi (i have a 64 bit box), ran it, and android studio 1.5.1 is happy. windows 10. hope that helps.

嗯,我在可选的windows组件上关掉了hyper-v (saim的建议)。virt启用bios。然后我去找haxm重新安装,只发现这个文件,C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi(我有一个64位的盒子),运行它,android studio 1.5.1是快乐的。windows 10。希望有帮助。

#6


0  

You can enable Intel Virtualization Technology from BIOS or if you dont have installed Emulator Acceleator(HAXM) you should install.

您可以从BIOS中启用Intel虚拟化技术,或者如果您没有安装仿真器Acceleator(HAXM),您应该安装它。

#7


0  

For Windows 10, first of all install the intelhaxm-android.exe located in this folder: SDK\extras\Intel\Hardware_Accelerated_Execution_Manager. If it gives error during installation then try these solutions.

对于Windows 10,首先安装intelhaxm-android。exe位于这个文件夹中:SDK\额外的\Intel\Hardware_Accelerated_Execution_Manager。如果在安装过程中出现错误,请尝试这些解决方案。

  1. First all enable the virtualization from BIOS setting. To enable this restart the computer, when the computer starts then press ESC. Then select the F2 if the manufacturer is Dell.

    首先,所有的虚拟化都来自于BIOS设置。要使计算机重新启动,当计算机开始时按ESC。如果制造商是戴尔,则选择F2。

  2. Even if you have enabled the Virtualization(VT) in BIOS settings, some antivirus options prevent HAXM installation.

    即使在BIOS设置中启用了虚拟化(VT),也有一些防病毒选项可以阻止HAXM安装。

For example: In Avast antivirus under Settings (parametres) tab > Troubleshooting (depannage), you should uncheck "Enable Hardware-assisted Virtualization" ("activer l'assistance a la virtualisation").

例如:在Avast antivirus under Settings (parametres) tab >故障排除(depannage)中,您应该取消“启用硬件辅助虚拟化”(“activer l'assistance a la虚拟化”)。

Now restart your computer and re-install the Intel's HAXM which can be found under ~SDK_LOCATION\extras\intel\Hardware_Accelerated_Execution_Manager. You can also manually download the standalone HAXM installer from Intels website.

现在重新启动计算机,重新安装英特尔的HAXM,它可以在~ sdk_location\ Intel \Hardware_Accelerated_Execution_Manager中找到。您也可以从Intels网站手动下载独立的HAXM安装程序。

  1. Check that hyper-v is disabled. To disable it go to the Control Panel then select the Programs --> Program and Features--> Turn windows Feature on or off (located on left side). Then find the HYPER-V. Uncheck the check box and restart the computer and try to install the hxm again.

    检查hyper-v是否被禁用。若要禁用它,请到控制面板,然后选择程序——>程序和功能——>打开或关闭窗口功能(位于左侧)。然后找到hyper - v。取消选中复选框并重新启动计算机,并尝试再次安装hxm。

  2. Go to properties of "This PC" by right clicking on it then select the Advance System Settings (located on left side) then in Advance (tab) under performance click the Setting button. Then select the Data Execution Prevention (tab), then select this option turn on the DEP for all programs and services except those I select and restart the computer, and try to install the hxm.

    点击右键,选择“这台PC”的属性,然后选择预置系统设置(位于左侧),然后在性能下提前(tab)点击设置按钮。然后选择数据执行预防(选项卡),然后选择这个选项打开所有程序和服务的DEP,除了那些我选择和重新启动计算机,并尝试安装hxm。

Solution no 3 worked for me.

解决方案3对我不起作用。

#8


0  

  1. Turn off your PC and turn it back on, then instantly hit F10 or the ESC button (whichever works for you) - it will enter you into the BIOS

    关掉你的电脑,打开它,然后立即按下F10或ESC按钮(无论哪个对你有用)-它将进入你的BIOS。

  2. Use the arrow keys to enter into System Security

    使用箭头键进入系统安全性。

  3. Ensure VIRTUAL TECHNOLOGY VTX is checked, then hit F10 to save, and reboot your computer

    确保检查虚拟技术VTX,然后按F10保存,并重新启动计算机。

  4. Now press the Windows key on your keyboard and just type Hyper-V; then click on the top appearing result

    现在按下键盘上的Windows键,然后输入Hyper-V;然后点击顶部出现的结果。

  5. Uncheck Hyper-V from there

    取消hyper - v从那里

  6. Now go to the path where you have saved your sdk folder - by default it is saved in C:\

    现在转到保存sdk文件夹的路径——默认情况下是保存在C:\。

  7. Go to C:\Android\sdk\extras\intel\ and run Hardware_Accelerated_Execution_Manager, then run intelhaxm-android.exe

    转到C:\Android\sdk\备用\intel\并运行Hardware_Accelerated_Execution_Manager,然后运行intelhaxm-android.exe。

  8. If it shows a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard", click the finish button to exit the wizard

    如果它显示一个对话框,该对话框引用“完成Intel硬件加速执行管理器设置向导”,单击finish按钮退出向导。

  9. Open Android Studio again, run your app, and if it doesn't show your virtual devices then click on the small refresh button on the bottom right.

    再次打开Android Studio,运行你的应用程序,如果它没有显示你的虚拟设备,然后点击右下角的小刷新按钮。

#9


0  

I was having a similar problem. It worked out that I hadn't got the HAXM-Installer installed on my PC.

我也遇到了类似的问题。结果是我的电脑上没有安装haxm安装程序。

To do this go to: Tools -> Android -> SDK Manager -> SDK Tools (Tab) -> Check the Intel x86 Emulator Accelerator (HAXM installer) option then click apply (As shown in the image below).

要做到这一点,我们需要:工具-> Android -> SDK管理器-> SDK工具(Tab) ->检查Intel x86仿真器加速器(HAXM安装程序),然后点击应用(如下图所示)。

Android SDK Manager (Image)

Android SDK管理器(图片)

#1


8  

Just follows these steps:

只有遵循这些步骤:

Go to Control Panel → Program and Feature. Click on Turn Window Features on and off. A window opens. Uncheck Hyper-V option and restart your system. Now, you can Start HAXM installation without any error.

去控制面板→程序和功能。点击打开和关闭窗口功能。打开一个窗口。取消Hyper-V选项并重启系统。现在,您可以启动HAXM安装,而不需要任何错误。

Hope this works @Keis

希望这作品@Keis

#2


5  

This procedure worked perfectly for me. Hope this helps.

这个程序对我来说很完美。希望这个有帮助。

  1. F10 (Computer Set Up) - BIOS - Security -System Security -Enter - Virtual Technology (VTX)-Enable-FileSave and Exit
  2. Goto sdk Folder: F:\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager Run intelhaxm-android.exe
  3. Goto sdk文件夹:F:\安卓\sdk\ \ \ \intel\Hardware_Accelerated_Execution_Manager运行intelhaxm-android.exe。
  4. You should be seeing a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard. Click the Finish Button to exit the wizard"
  5. 您应该看到一个对话框,其中引用了“完成的Intel硬件加速执行管理器设置向导”。单击Finish按钮退出向导“

Once this works, open android studio, and try running the emulator. You should be seeing "HAX is working and emulator runs in fast virt mode"

一旦完成这个工作,打开android studio,并尝试运行模拟器。你应该看到"HAX正在运行,模拟器运行在快速virt模式"

#3


2  

After enabling the virtulization in-bios do hard restarting via power button solved my problem:). I read in intel blog to do so. So try this option it may help:)

在启用了bios中的虚拟化后,通过电源按钮重新启动了我的问题:)。我在intel的博客上读到这样做。所以尝试一下这个选项可能会有帮助:)

#4


0  

You must have an Intel processor that supports virutalization and ND bit on. You can check http://ark.intel.com to tell.
to set ND bit you can use bcdedit /set nx AlwaysOn
to set virtualization properly once enabled in BIOS you can type
bcdedit /set hypervisorlaunchtype off
If you're using Avast
disable "Enable hardware-assisted virtualization" under Settings > Troubleshooting)
Get the download from
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

你必须有一个支持virutalization和ND比特的Intel处理器。你可以查看http://ark.intel.com。要设置ND位,您可以使用bcdedit /set nx AlwaysOn在BIOS中适当设置虚拟化,如果您正在使用Avast禁用“启用硬件辅助虚拟化”,那么您可以在bcdedit /set hypervisorlaunchtype关闭,从https://software.intel.com/en-us/android/articles/intel-hardware-accelerated- executionmanager下载。

#5


0  

well, i turned off hyper-v on optional windows components (saim's suggestion). enabled virt in bios. then i went to find the haxm reinstall, and only found this file, C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi (i have a 64 bit box), ran it, and android studio 1.5.1 is happy. windows 10. hope that helps.

嗯,我在可选的windows组件上关掉了hyper-v (saim的建议)。virt启用bios。然后我去找haxm重新安装,只发现这个文件,C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi(我有一个64位的盒子),运行它,android studio 1.5.1是快乐的。windows 10。希望有帮助。

#6


0  

You can enable Intel Virtualization Technology from BIOS or if you dont have installed Emulator Acceleator(HAXM) you should install.

您可以从BIOS中启用Intel虚拟化技术,或者如果您没有安装仿真器Acceleator(HAXM),您应该安装它。

#7


0  

For Windows 10, first of all install the intelhaxm-android.exe located in this folder: SDK\extras\Intel\Hardware_Accelerated_Execution_Manager. If it gives error during installation then try these solutions.

对于Windows 10,首先安装intelhaxm-android。exe位于这个文件夹中:SDK\额外的\Intel\Hardware_Accelerated_Execution_Manager。如果在安装过程中出现错误,请尝试这些解决方案。

  1. First all enable the virtualization from BIOS setting. To enable this restart the computer, when the computer starts then press ESC. Then select the F2 if the manufacturer is Dell.

    首先,所有的虚拟化都来自于BIOS设置。要使计算机重新启动,当计算机开始时按ESC。如果制造商是戴尔,则选择F2。

  2. Even if you have enabled the Virtualization(VT) in BIOS settings, some antivirus options prevent HAXM installation.

    即使在BIOS设置中启用了虚拟化(VT),也有一些防病毒选项可以阻止HAXM安装。

For example: In Avast antivirus under Settings (parametres) tab > Troubleshooting (depannage), you should uncheck "Enable Hardware-assisted Virtualization" ("activer l'assistance a la virtualisation").

例如:在Avast antivirus under Settings (parametres) tab >故障排除(depannage)中,您应该取消“启用硬件辅助虚拟化”(“activer l'assistance a la虚拟化”)。

Now restart your computer and re-install the Intel's HAXM which can be found under ~SDK_LOCATION\extras\intel\Hardware_Accelerated_Execution_Manager. You can also manually download the standalone HAXM installer from Intels website.

现在重新启动计算机,重新安装英特尔的HAXM,它可以在~ sdk_location\ Intel \Hardware_Accelerated_Execution_Manager中找到。您也可以从Intels网站手动下载独立的HAXM安装程序。

  1. Check that hyper-v is disabled. To disable it go to the Control Panel then select the Programs --> Program and Features--> Turn windows Feature on or off (located on left side). Then find the HYPER-V. Uncheck the check box and restart the computer and try to install the hxm again.

    检查hyper-v是否被禁用。若要禁用它,请到控制面板,然后选择程序——>程序和功能——>打开或关闭窗口功能(位于左侧)。然后找到hyper - v。取消选中复选框并重新启动计算机,并尝试再次安装hxm。

  2. Go to properties of "This PC" by right clicking on it then select the Advance System Settings (located on left side) then in Advance (tab) under performance click the Setting button. Then select the Data Execution Prevention (tab), then select this option turn on the DEP for all programs and services except those I select and restart the computer, and try to install the hxm.

    点击右键,选择“这台PC”的属性,然后选择预置系统设置(位于左侧),然后在性能下提前(tab)点击设置按钮。然后选择数据执行预防(选项卡),然后选择这个选项打开所有程序和服务的DEP,除了那些我选择和重新启动计算机,并尝试安装hxm。

Solution no 3 worked for me.

解决方案3对我不起作用。

#8


0  

  1. Turn off your PC and turn it back on, then instantly hit F10 or the ESC button (whichever works for you) - it will enter you into the BIOS

    关掉你的电脑,打开它,然后立即按下F10或ESC按钮(无论哪个对你有用)-它将进入你的BIOS。

  2. Use the arrow keys to enter into System Security

    使用箭头键进入系统安全性。

  3. Ensure VIRTUAL TECHNOLOGY VTX is checked, then hit F10 to save, and reboot your computer

    确保检查虚拟技术VTX,然后按F10保存,并重新启动计算机。

  4. Now press the Windows key on your keyboard and just type Hyper-V; then click on the top appearing result

    现在按下键盘上的Windows键,然后输入Hyper-V;然后点击顶部出现的结果。

  5. Uncheck Hyper-V from there

    取消hyper - v从那里

  6. Now go to the path where you have saved your sdk folder - by default it is saved in C:\

    现在转到保存sdk文件夹的路径——默认情况下是保存在C:\。

  7. Go to C:\Android\sdk\extras\intel\ and run Hardware_Accelerated_Execution_Manager, then run intelhaxm-android.exe

    转到C:\Android\sdk\备用\intel\并运行Hardware_Accelerated_Execution_Manager,然后运行intelhaxm-android.exe。

  8. If it shows a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard", click the finish button to exit the wizard

    如果它显示一个对话框,该对话框引用“完成Intel硬件加速执行管理器设置向导”,单击finish按钮退出向导。

  9. Open Android Studio again, run your app, and if it doesn't show your virtual devices then click on the small refresh button on the bottom right.

    再次打开Android Studio,运行你的应用程序,如果它没有显示你的虚拟设备,然后点击右下角的小刷新按钮。

#9


0  

I was having a similar problem. It worked out that I hadn't got the HAXM-Installer installed on my PC.

我也遇到了类似的问题。结果是我的电脑上没有安装haxm安装程序。

To do this go to: Tools -> Android -> SDK Manager -> SDK Tools (Tab) -> Check the Intel x86 Emulator Accelerator (HAXM installer) option then click apply (As shown in the image below).

要做到这一点,我们需要:工具-> Android -> SDK管理器-> SDK工具(Tab) ->检查Intel x86仿真器加速器(HAXM安装程序),然后点击应用(如下图所示)。

Android SDK Manager (Image)

Android SDK管理器(图片)