首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >android Intel haxm bug

android Intel haxm bug
EN

Stack Overflow用户
提问于 2018-10-13 15:59:24
回答 1查看 361关注 0票数 0

我安装了android,为了在我的pc上使用仿真器,我尝试安装了intel HAXM。由于缺乏intel vt支持,它引发了错误,我尝试用许多技巧启用这个选项,详细解释了这里。经过多次更改后,安装在我的windows 10 pro上的英特尔处理器标识实用程序报告说,在我的pc上启用了英特尔vt,还有一个名为haxm_check.exe的实用程序报告说,在我的pc上启用了intel vt和nx。但是,当我试图安装intelhaxm-android.exe版本7.0.3时,它提示vtnx丢失并回滚设置。有人能找出哪里出了问题吗?或者我该如何解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2018-12-07 20:22:19

对于这个问题,要检查的事情列表要大得多。也可能是在你查看后在https://stackoverflow.com/a/53676171/975887上发布的。

下面是Windows的完整列表(截止到12/2018)

  1. 检查BIOS
代码语言:javascript
运行
复制
- 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.

  1. 禁用超V
代码语言:javascript
运行
复制
- 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/)

  1. AMD Ryzen ?
代码语言:javascript
运行
复制
- 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

  1. 禁用防病毒
    • 尝试禁用您的防病毒。
    • 太棒了!还有其他几个干扰虚拟化的检测。之后你可以启用他们。
    • AVAST和其他一些公司也有一些使用基于虚拟化的隔离的选项。要么禁用它们,要么暂时卸载您的AV。

  1. 禁用核心隔离
代码语言:javascript
运行
复制
- 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

  1. 禁用系统管理程序在引导启动
代码语言:javascript
运行
复制
- on an admin command prompt, run `bcdedit /set hypervisorlaunchtype off`
- reboot
- to revert run `bcdedit /set hypervisorlaunchtype auto` and reboot

  1. ,Nothing,
代码语言:javascript
运行
复制
- 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/).

  1. ¯\_(ツ)_/

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52794776

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档