仿真器:仿真器:错误:x86仿真当前需要硬件加速!仿真器:进程完成,退出代码为1 [英] Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration! Emulator: Process finished with exit code 1

查看:144
本文介绍了仿真器:仿真器:错误:x86仿真当前需要硬件加速!仿真器:进程完成,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration! Emulator: Process finished with exit code 1

推荐答案

我遇到了完全相同的问题.这是我修复它的方法(对于Windows):

I was having the exact same problem. This is how I fixed it (for Windows):

  1. 进入Android Studio并打开SDK Manager(在工具"菜单下)
  2. 在"SDK平台"选项卡下,取消选中所有选中的框.如果选中任何框,则表示它们已安装-但我们现在要卸载它们.
  3. 转到"SDK工具"标签.确保所有Android模拟器,Android SDK平台工具和Android SDK工具均已选中.
  4. 在同一选项卡中,确保未选中"Intel x86 Emulator Accelerator".如果选中,则表示已安装,但我们现在要卸载. (我还卸载了Android SDK Build-Tools,但不确定是否需要执行此步骤.)
  5. 转到此链接: https://github .com/intel/haxm/releases/download/v7.2.0/haxm-windows_v7_2_0.zip 这是我们重新安装Intel x86 Emulator Accelerator的地方.将其保存到下载"文件夹,然后解压缩文件.暂时不要启动任何安装向导!
  6. 关闭计算机.再次启动时,启动BIOS(对于Windows 10,请按住F10键).在BIOS中,按向右箭头,直到进入第三个选项卡.在此处,转到虚拟化"选项.如果将其设置为已禁用",请使用Enter键将其设置为已启用".按F10保存并退出.
  7. 返回下载"文件夹,或者保存Intel x86 Emulator Accelerator(又名haxm)的位置.双击文件intelhaxm-android.这会将haxm安装到您的计算机上.
  8. 进入Android Studio,然后再次打开SDK Manager.在"SDK平台"选项卡中,重新选中所需API的复选框.这将重新安装它们,因为之前我们已卸载它们. (我尝试安装API 28,但之后将其标记为部分安装",因此我继续下载了API 27和26.)单击应用"并允许其安装.
  9. 转到"SDK工具"选项卡,然后重新选中"Android SDK Build-Tools"和"Intel x86 Emulator Accelerator"复选框.单击应用并允许他们安装".
  10. 至此,我已经使用API​​ 26设置了虚拟设备,并成功加载了该设备.如果要设置虚拟设备,请确保将其设置为在步骤8中安装的API.
  1. Go into Android Studio and open the SDK Manager (under the Tools menu)
  2. Under SDK Platforms tab, UNCHECK any boxes that are selected. If there are any boxes checked, that means they are installed - but we want to uninstall them for now.
  3. Go to the SDK Tools tab. Make sure that Android Emulator, Android SDK Platform-Tools, and Android SDK Tools are all checked.
  4. In the same tab, make sure that the Intel x86 Emulator Accelerator is UNCHECKED. If it is checked, that means it is installed, but we want to uninstall it for now. (I also uninstalled Android SDK Build-Tools, but I'm not all sure if that step was necessary.)
  5. Go to this link: https://github.com/intel/haxm/releases/download/v7.2.0/haxm-windows_v7_2_0.zip This is where we re-install the Intel x86 Emulator Accelerator. Save it to your Downloads folder, and extract files. Do not launch any setup wizards yet!
  6. Shut down your computer. As you start it up again, launch BIOS (For Windows 10, hold down F10 key). In BIOS, press the right arrow until you get to the third tab. Under there, go down to an option for Virtualization. If it is set as Disabled, use the Enter key to set it to Enabled. Press F10 to save and exit.
  7. Go back into your Downloads folder, or wherever you saved the Intel x86 Emulator Accelerator (aka haxm). Double click on the file intelhaxm-android. This will install haxm to your computer.
  8. Go into Android Studio, and open up the SDK Manager again. In the SDK Platforms tab, re-check the boxes for the APIs that you want. This will re-install them, since earlier we uninstalled them. (I tried to install API 28, but afterwards it was labeled Partially Installed, so I went ahead and downloaded APIs 27 and 26.) Click Apply and allow it/them to install.
  9. Go to the tab SDK Tools and re-check the boxes for Android SDK Build-Tools and Intel x86 Emulator Accelerator. Click Apply and allow them to install.
  10. At this point, I had already set up a Virtual Device with API 26, and it successfully loaded. Make sure that if you are setting up a Virtual Device, that you set it for an API that you installed in Step 8.

那是我的解决方案,希望它对您有用!

That was my solution, I hope it works for you!

这篇关于仿真器:仿真器:错误:x86仿真当前需要硬件加速!仿真器:进程完成,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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