运行此 AVD 需要 HAXM [英] HAXM is required to run this AVD

查看:36
本文介绍了运行此 AVD 需要 HAXM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 android studio 中创建了模拟器并在其中创建了小应用程序.当我运行时,它给了我一个错误[见图 1].当我用谷歌搜索时,它告诉我你的系统不支持虚拟化.但我的系统支持它.[见图 2].

现在我的问题是,当我的系统支持虚拟化时,为什么我不能在模拟器中运行我的应用程序.也请帮助解决此以下错误.

1-运行此 AVD 需要英特尔 HAXM.

2-您的 CPU 不支持 NX.

请任何人帮助解决此问题,提前致谢

解决方案

(答案来源

然后,检查是否在 BIOS 中启用了 NX 和 VT-x:

如果没有,请启用它.如果您没有看到选项,那么您的 CPU 不支持 NX.

启用后,再次执行第一步.您现在应该看到 *,这意味着 NX 已启用:

I have created emulator in android studio and create little application in it. When i run it gives me an error[See image 1]. When i googled, it told me that your system does not support virtualization. But my system suport it. [See image 2].

Now my question is that when my system support virtualization then why i cannot run my app in emulator. Also please help on this following error too.

1-Intel HAXM is required to run this AVD.

2-Your CPU does not support NX.

Please anyone help to resolve this issues, thanks in advance

解决方案

(Source of answer here) First off, download Coreinfo, extract the zip in your Downloads folder, then run CMD (Not as admin), and type in:

cd Downloads
cd Coreinfo
coreinfo

Then, you should get a list of text. Scroll up/down until you find NX. If there's - next to NX, then it isn't enabled or it isn't supported. If there's * and you still get the error, then you're doing something else wrong.

Then, check if NX and VT-x are enabled in BIOS:

If not, enable it. If you don't see an option, then your CPU doesn't support NX.

After you enable it, do the first step again. You should now see *, which means NX is enabled:

这篇关于运行此 AVD 需要 HAXM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆