eclipse VT-x 不工作,即使它在 bios 中启用并且我的 CPU 支持它
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20345389/
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
VT-x not working, even tho it's enabled in bios and my CPU supports it
提问by Sajkor
I tried to make my android emulator work faster and as the title says, I can't get to install HAXM driver on my laptop. I've looked everywhere and did everything people suggested on other pages. Intel Virtualization Technology in bios is enabled. Updated Eclipse tools etc. Downloaded driver directly, instead of throguh Eclipse manager. I even tried to disable Hyper-V in Windows functions but it's not there. I still get the following error when trying to install the driver:
我试图让我的 android 模拟器运行得更快,正如标题所说,我无法在我的笔记本电脑上安装 HAXM 驱动程序。我到处寻找,并做了人们在其他页面上建议的一切。bios 中的英特尔虚拟化技术已启用。更新 Eclipse 工具等。直接下载驱动程序,而不是通过 Eclipse 管理器。我什至试图在 Windows 功能中禁用 Hyper-V,但它不存在。尝试安装驱动程序时,我仍然收到以下错误:
(Can't post images so I will just rewrite it) "This computer meets the requirements for HAXM, but Intel Virtualization Technology (VT-x) is not turned on. HAXM can be installed, but will not work until VT-x is enabled."
(不能发图所以我就重写一下)“这台电脑满足HAXM的要求,但英特尔虚拟化技术(VT-x)没有打开。HAXM可以安装,但只有VT-x才能工作启用。”
As I said before, it is ENABLED in bios so I have no idea what's the problem. I would appreciate any help. Thanks.
正如我之前所说,它在 bios 中启用,所以我不知道有什么问题。我将不胜感激任何帮助。谢谢。
回答by Shahinul Islam
回答by Meenohara
Hope my answer helps someone who ends up on this page for the question
希望我的回答能帮助那些最终出现在这个页面上的人
I had just updated my BIOS and found that emulator on Android Studio was not starting mentioning "VT-x not enabled". When I checked task manager it showed Virtualization is Disabled
我刚刚更新了我的 BIOS,发现 Android Studio 上的模拟器没有开始提到“VT-x 未启用”。当我检查任务管理器时,它显示虚拟化已禁用
On entering BIOS found that Virtualization showed enabled. I exited and googled up in vain.
在进入 BIOS 时发现虚拟化显示已启用。我退出并用谷歌搜索是徒劳的。
How I got rid of it:I entered BIOS setup once again, this time I disabled it and re enabled. Saved and exited. When I again checked in Task Manager, "Virtualization showed as enabled"
我是如何摆脱它的:我再次进入 BIOS 设置,这次我禁用了它并重新启用。保存并退出。当我再次检查任务管理器时,“虚拟化显示为已启用”
I made sure emulator is also running as I am typing this answer
当我输入这个答案时,我确保模拟器也在运行
回答by user3691314
Although this is an old question, but I've still encounter it recently.
虽然这是一个老问题,但我最近仍然遇到它。
This is what worked for me on my i7-3770 3.40GHz, Z77 extreme motherboard running Windows 10.
这在运行 Windows 10 的 i7-3770 3.40GHz、Z77 极限主板上对我有用。
In Windows, disable Hyper-V:
在 Windows 中,禁用 Hyper-V:
- Open up a PowerShell or CMD session as Administrator.
- Type the following command: dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
- Windows will ask you to restart.
- 以管理员身份打开 PowerShell 或 CMD 会话。
- 键入以下命令:dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
- Windows 会要求您重新启动。
In the bios:
在bios中:
- Disable >>> Intel Virtualization Technology, vt-d
- Save the bios settings and allow it to restart and boot into Windows.
- Shutdown the computer (I've tried just restarting and it didn't work)
- Power up the computer, go into the bios and re-enable the above disabled settings.
- Save, restart.
- 禁用 >>> Intel 虚拟化技术,vt-d
- 保存 bios 设置并允许它重新启动并引导到 Windows。
- 关闭计算机(我试过重新启动但没有用)
- 启动计算机,进入 bios 并重新启用上述禁用设置。
- 保存,重启。
Download the Intel Utilityto check.
下载英特尔实用程序进行检查。
You should now see it been supported:
您现在应该看到它已被支持:
If it still doesn't work, try re-enabling Hyper-V first then following the steps above.
如果它仍然不起作用,请先尝试重新启用 Hyper-V,然后按照上述步骤操作。
回答by ph0b
do you have any other software installed on your PC, that may prevent HAXM to use VT-x ? Maybe you've got some other SDKs/emulators installed that would come with a virtualization service ?
您的 PC 上是否安装了任何其他软件,可能会阻止 HAXM 使用 VT-x?也许您已经安装了一些其他的 SDK/模拟器,这些 SDK/模拟器会随虚拟化服务一起提供?
Also, what's your laptop ? Sometime BIOS may be buggy and to really enable VT-x, you may need to disable it, shutdown and boot your PC again, enable VT-x, shutdown and boot again.
另外,你的笔记本电脑是什么?有时 BIOS 可能有问题,要真正启用 VT-x,您可能需要禁用它,关闭并再次启动您的 PC,启用 VT-x,然后关闭并再次启动。