简体   繁体   English

AVD 管理器中未安装 HAXM 错误

[英]HAXM not installed error in AVD manager

I understand this question has been asked earlier as well, and I have infact tried everything I could find there but I am still not able to solve the issue.我知道之前也有人问过这个问题,事实上我已经尝试了所有我能在那里找到的东西,但我仍然无法解决这个问题。

I am seeing this error when I try to run AVD.当我尝试运行 AVD 时,我看到了这个错误。

"Intel HAXM is required to run this AVD.
HAXM is not installed.

Install Intel HAXM for better emulation performance.""

if I go ahead and click 'ok' it shows me the installer, I have gone through the installation step there many time withouct changing the preferred RAM size.如果我继续并单击“确定”,它会向我显示安装程序,我已经多次执行安装步骤而没有更改首选的 RAM 大小。 in the end it says this.最后它说了这个。

"Running Intel® HAXM installer
Intel HAXM installed successfully!
Done"

but after restarting everything, I see the same problem again.但重新启动一切后,我再次看到同样的问题。

I ran haxm_check.exe and it says.我运行了 haxm_check.exe,它说。

"VT support -- yes
NX support -- yes

I mannually downloaded the package form intel site and installed, it again says installed successfully but AVD somehow can't pick it.我手动下载了英特尔站点的软件包并安装,它再次说安装成功,但 AVD 不知何故无法选择它。

No idea what should I do next.不知道我接下来该怎么做。

USING WINDOW 10 / ANDROID STUDIO 2.1.1使用 Windows 10 / ANDROID STUDIO 2.1.1

在此处输入图片说明

EDIT -Seeing some weird behaviour编辑 - 看到一些奇怪的行为

C:\\Users\\Ankit\\Desktop\\haxm>silent_install.bat Intel HAXM installed successfully! C:\\Users\\Ankit\\Desktop\\haxm>silent_install.bat Intel HAXM 安装成功!

C:\\Users\\Ankit\\Desktop\\haxm>silent_install.bat -u Intel HAXM is not installed! C:\\Users\\Ankit\\Desktop\\haxm>silent_install.bat -u 未安装英特尔 HAXM!

Installation says it's successful, but un-installation says otherwise安装说成功,但卸载说不然

Ok, seems like I solved it but still I have no idea what was the problem.好的,似乎我解决了它,但我仍然不知道是什么问题。 Infact it's fixed accidentally.事实上,它是意外修复的。

so I had this file there intelhaxm-android.exe, I accidently opened it in winrar and there I could see hax.msi file.. I ran it and setup begun, followed it and all seems fine now.所以我在 intelhaxm-android.exe 中有这个文件,我不小心在 winrar 中打开它,在那里我可以看到 hax.msi 文件..我运行它并开始安装,跟着它,现在一切看起来都很好。

however directly running intelhaxm-android.exe was not opening any installer setup, it was just opening a command prompt which was getting closed immidiately.然而,直接运行 intelhaxm-android.exe 并没有打开任何安装程序设置,它只是打开了一个立即关闭的命令提示符。

Seems like this was something very specific to my laptop..似乎这是我的笔记本电脑非常特定的东西..

如果您不确定从哪里下载 HAXM 安装程序,参阅此答案链接,请参阅此答案

For me it solved after installing Haxm here is link对我来说,它在安装 Haxm 后解决了这里是链接

https://github.com/intel/haxm/releases/ https://github.com/intel/haxm/releases/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM