Search code examples
android-studioandroid-emulatorhyper-vamd-processor

Can't run Android Studio Emulator on AMD - ERROR: x86


I've a Ryzen 7 3700x CPU (Windows 10) and few days ago I've run Android Emulator (X86) with success. After installing Virtualbox and VmWare now I can't run emulator.

Here's the error:

*

emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Windows Hypervisor Platform (WHPX) is properly installed and usable. CPU acceleration status: GVM is not installed on this machine More info on configuring VM acceleration on Windows: https://developer.android.com/studio/run/emulator-acceleration#vm-windows If you are using an Intel CPU: please check that virtualization is enabled in the BIOS and that HAXM is installed and usable. Note: if Hyper-V or Credential Guard is enabled, the emulator will not work with HAXM. See https://github.com/intel/haxm/issues/105#issuecomment-470927735 for info on how to disable Credential Guard. If you are using an AMD CPU or need to run alongside Hyper-V-based apps such as Docker, we recommend using Windows Hypervisor Platform.General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.

*

I have turn on Hyper-V, Windows Hypervisor Platform and Virtual Machine Platform (of course bios virtualization is ON) ..what I can do?

thanks!


Solution

  • After plenty of research I found a solution for my ryzen system: enter image description here (source: https://github.com/intel/haxm/issues/105)

    Turn this windows setting on and somehow it will work. Don't ask me why.

    I also found an official new amd driver: https://androidstudio.googleblog.com/... But I was already using the new driver. It did only work after I switched the setting above.