首页 > 代码库 > Android Studio :enable vt-x in your bios security,已经打开还是报错的解决方法
Android Studio :enable vt-x in your bios security,已经打开还是报错的解决方法
2024-08-15 02:00:03 216人阅读
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.
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.
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.
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.
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,已经打开还是报错的解决方法