我安装了android,为了在我的pc上使用仿真器,我尝试安装了intel HAXM。由于缺乏intel vt支持,它引发了错误,我尝试用许多技巧启用这个选项,详细解释了这里。经过多次更改后,安装在我的windows 10 pro上的英特尔处理器标识实用程序报告说,在我的pc上启用了英特尔vt,还有一个名为haxm_check.exe的实用程序报告说,在我的pc上启用了intel vt和nx。但是,当我试图安装intelhaxm-android.exe版本7.0.3时,它提示vt或nx丢失并回滚设置。有人能找出哪里出了问题吗?或者我该如何解决这个问题?
发布于 2018-12-07 20:22:19
对于这个问题,要检查的事情列表要大得多。也可能是在你查看后在https://stackoverflow.com/a/53676171/975887上发布的。
下面是Windows的完整列表(截止到12/2018)
- go into BIOS/UEFI setup and look for settings like VT-x, VT-d, Virtualization Technology, Hardware Virtualization and make sure it is **Enabled**. If the option is not there, check with your manufacturer and model to make sure it is supported.
- Type 'windows features' into start menu, select 'Turn Windows Features On or Off'.
- Unselect all Hyper-V related options, press OK, Reboot.
- This will break any Hyper-V VMs you have, including any Windows Phone emulators and anything else you have setup that requires Hyper-V
- Reboot Required
- on an admin command prompt, run `systeminfo`. If it shows 'hypervisor is detected' under Hyper-V requirements, even after removing Hyper-V feature, you may have 'Core Isolation' enabled. See below on how to disable it.
- As another option, try enabling '**Windows Hypervisor Platform**' if you still want your Hyper-V support. [More info here](https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/)
- If your CPU is AMD Ryzen, you may need to **enable** '_Windows Hypervisor Platform_' feature just like you disabled Hyper-V above.
- If it is enabled and still things don't work, try disabling it. ¯\\_(ツ)\_/¯
- Reboot required
- Clean installs of Windows 10 1803 enables Core Isolation by default, which runs secure processes inside a virtualized container for security. This interferes with the detection of virtualization.
- Machines that upgraded from an earlier version have this disabled, but check anyway.
- Go to Windows Defender Security Center
- Device Security > Core Isolation > details
- **Disable** Memory Integrity
- Reboot
- on an admin command prompt, run `bcdedit /set hypervisorlaunchtype off`
- reboot
- to revert run `bcdedit /set hypervisorlaunchtype auto` and reboot
- You shouldn't get here, since Android emulator can now run alongside with Hyper-V if you have 'Windows Hypervisor Platform' is enabled.
- If nothing above works, as a last resort you can try running [Android in a Hyper-V](http://techgenix.com/running-an-android-emulator-on-hyper-v/) VM and get ADB to connect to it. (Not a solution, but a workaround)
- You can also run android using a third-party emulator like [Genimotion](https://www.genymotion.com/).
https://stackoverflow.com/questions/52794776
复制相似问题