安装程序未支持此系统:此计算机上未安装 HAXM(this machine)

最近我安装了 Xamarin 并试图在 Xamarin 页面beginner中做一个教程。当我要编译时,它给了我一个错误:

2 & gt;请确保 Intel HAXM 已正确安装且可用。

2 & gt;CPU 加速状态:此机器上未安装 HAXM

然后我打开 android SDK 管理器,我无法安装 HAXM

enter image description here enter image description here Some link suggest to download it from intel but I got access denied. And also in my windows feature hyper-v was unchecked

enter image description here enter image description here

n.b:我正在使用带有 i5 处理器的 Windows ver.10,VS.studio ver.2017

39

打开 SDK Manager 并下载Intel x86 Emulator Accelerator(HAXM 安装程序)(如果尚未下载)。

现在转到您的 SDK 目录(通常为 C:\ users\ username\ AppData\ Local\ Android\ sdk)。在此目录中,转到extras → Intel → Hardware_Accelerated_Execution_Manager并运行名为“intelhaxm-android.exe”的文件。

如果您收到类似“英特尔虚拟化技术 (vt 、 vt-x) 未启用”的错误,请转到您的 BIOS 设置并启用硬件虚拟化。

重新启动 Android Studio,然后再次尝试启动 D。

显示模拟器窗口可能需要 1 分钟或 2 分钟。

请这个答案的图像Error in launching D with AMD processor

5

检查您的系统是否有Intel® VT-x Technology,有时更容易出错。

Check your Intel Virtualization Technology state in Task Manager -> Performance -> Virtualization -> Enable or Disable. enter image description here

在 BIOS 模型中:

即使这样做,它可能仍然没有效果

Config->CPU->Intel Virtualization Technology->Enable

启用这样的虚拟化

Security->Virtualization->Intel(R) Virtualization Technology->Enabled

如果已将其打开,请安装Intel HAXM

5

如果是 Intel 处理器,则启用 Intel HAXM。

如果是 AMD 处理器,那么是你的答案。

您在 AMD 处理器中绝对不需要 Intel HAXM(硬件加速执行模式),因为它们是 AMD 处理器。

Just enable (check) Windows Hypervisor Platform in Windows features as shown below. enter image description here

现在,您可以启动模拟器。不需要英特尔 HAXM。

这里是官方链接:https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html

2

As Ashok Kateshiya post says,do follow same.But for first step that how to get the things,A new user of Android SDK who is going to setup the software may get confused somewhat.SO I am adding some extra details for them.Just see down...

我正在添加一个图像,用于如何获取第一个选项,这里...enter image description here

现在,单击应用并按照步骤操作,最后单击确定。

现在转到您的 SDK 目录 (通常为 C:\ users\ username\ AppData\ Local\ Android\ sdk)。在此目录中,转到 extras → Intel → Hardware_Accelerated_Execution_Manager。并运行名为“haxm-7.6.5-setup.exe”的文件。

现在它将安装 exe 文件并使用 intel 界面。而且您不需要重新启动 android studio 只需运行该应用程序,它将为您正常工作。

添加映像以成功完成安装:enter image description here

谢谢

本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处

(762)
Catpart文件:CatiaCATProduct和CATPart文件格式
上一篇
桌面图标删除不了:使用批处理删除桌面图标 (how to remove icons from desktop windows 1
下一篇

相关推荐

发表评论

登录 后才能评论

评论列表(38条)