错误:x86仿真当前需要硬件加速!(Android Studio) [英] ERROR: x86 emulation currently requires hardware acceleration! (Android Studio)

查看:118
本文介绍了错误:x86仿真当前需要硬件加速!(Android Studio)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在Android Studio中遇到问题,因为我无法使用仿真器运行任何应用程序.尝试运行应用程序时出现的完整错误是...

I'm currently have a problem with my Android Studio because I cannot run any application using an emulator. The full error that comes up when trying to run an application is...

仿真器:仿真器:错误:x86仿真当前需要硬件加速!

Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!

仿真器:进程结束,退出代码为1

Emulator: Process finished with exit code 1

我已经完全安装了英特尔Haxm(运行intelhaxm-android.exe时,它仅提供删除选项),并尝试同时使用API​​ 27和28.

I have Intel Haxm fully installed (when running intelhaxm-android.exe it only gives me the option to remove) and have tried using both the API 27 and 28.

任何帮助将不胜感激:)

Any help would be appreciated :)

推荐答案

我遇到了同样的问题.执行以下步骤解决了该问题.

I was having the same issue. Doing the following steps solved the issue.

  1. 检查BIOS中是否已启用虚拟化 .如果没有,请这样做.通常在CPU设置下.

  1. Check if Virtualization is enabled under BIOS. If not, do so. It is usually under CPU settings.

在Android Studio中,检查是否已选中 DK_Manager> Android_SDK> SDK Tools> Intel x86 Emulator Accelerator(HAXM安装程序).如果没有,请检查并按OK.它将安装HAXM.

In Android studio, check that under SDK_Manager>Android_SDK>SDK Tools> Intel x86 Emulator Accelerator (HAXM installer) is checked. If not,check it and press OK. It will install HAXM.

如果问题仍然存在(最新的Windows 10更新通常是这种情况),请在Windows控制面板上搜索打开或关闭Windows功能.如下所示,将检查放入 Window HyperVisor平台.

If the problem still persists (Which is the usual case for latest Windows 10 updates), on windows control panel search for Turn Windows features on or off. Put check in Window HyperVisor Platform as below.

现在,运行AVD,它应该可以工作.

Now, run AVD and it should work.

这篇关于错误:x86仿真当前需要硬件加速!(Android Studio)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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