Android Studio :enable vt-x in your bios security,已经打开还是报错的解决方法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Studio :enable vt-x in your bios security,已经打开还是报错的解决方法相关的知识,希望对你有一定的参考价值。

quote:

For Windows 10:

First of all, install the intelhaxm-android.exe located in the folder SDK\extras\Intel\Hardware_Accelerated_Execution_Manager if it gives error during installation then try these solution.

  1. First all enable the virtualization from bios setting. To enable this, restart the computer, when the computer started then press Esc, then select the F2 if the manufacturer is dell.

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

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

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

  3. 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.

  4. Go to properties of "This PC" by right clicking on it, then select the advanced system setting (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.

Solution 3 works for me.

 

如果已经打开了VT-X还是提醒enable vt-x in your bios security,你需要执行2步骤。

 

1.检查BIOS中的设置确保打开CPU 的Virtualization

2.关闭Sercue Boot

3.关闭电脑的执行关闭数据执行保护(DEP)功能

4.卸载禁用电脑已经安装的杀毒软件

cmd:

bcdedit.exe/set {current} nx AlwaysOff

以上是关于Android Studio :enable vt-x in your bios security,已经打开还是报错的解决方法的主要内容,如果未能解决你的问题,请参考以下文章

关于Android Studio中启动模拟器时,报VT-x is disabled in BIOS错误的解决办法

Android Studio 之 Launch AVD 时" Intel HAXM is required to run this AVD, VT-x is disabled in BIOS

android studio avd manager 无效选项——'-enable-whpx'

错误记录Android Studio 编译时 lint 检查报错 ( WARNING: DSL element ‘android.dataBinding.enabled‘ is obsolet )

错误记录Android Studio 编译报错 ( The dependency contains Java 8 bytecode. Please enable desugaring by )

Android Studio启动模拟器