ERROR: x86 emulation currently requires hardware acceleration! (Android Studio)

十年热恋 提交于 2019-11-27 06:16:33

问题


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...

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

Emulator: Process finished with exit code 1

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 :)


回答1:


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

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

  2. 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.

  3. 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.

Now, run AVD and it should work.




回答2:


I had the same problem and found out that you need to enable hardware acceleration in the BIOS.




回答3:


for anyone else having this exact issue i was able to solve this issue by

  1. uninstalling intel Haxm
  2. enable virtualization in BIOS
  3. enable NX/ND bit or execute disable feature in BIOS
  4. re-installing intel Haxm



回答4:


Try to update your HAXM from SDK manager, i attach my settings for Android Studio 3.1.2 here:

And, remember that you should have installed the correct Android Studio, i.e. 32-bit or 64-bit according to your computer.

---- Edit ----

If still got problems, try the steps here: https://stackoverflow.com/a/31458503/8034839



来源:https://stackoverflow.com/questions/51489362/error-x86-emulation-currently-requires-hardware-acceleration-android-studio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!