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

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

我有 Ryzen 7 3700x CPU (Windows 10),几天前我 运行 Android 模拟器 (X86) 成功了。现在安装 Virtualbox 和 VmWare 后我无法 运行 模拟器。

这是错误:

*

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.

*

我已经打开了 Hyper-V,Windows Hypervisor 平台和虚拟机平台(当然 bios 虚拟化是打开的)..我能做什么?

谢谢!

https://finsterbt.com/switch-between-hyper-v-and-virtualbox-on-windows-10/

VirtualBox, VMware Workstation, and VMware Player do not work on machines with Hyper-V enabled.

To resolve this conflict, create a new boot menu option that reboots the computer with Hyper-V temporarily disabled.

bcdedit /copy {current} /d "Disable Hyper-V"
bcdedit /set  $GUID     hypervisorlaunchtype off
bcdedit /set  {current} hypervisorlaunchtype auto

经过大量研究,我找到了适用于我的 ryzen 系统的解决方案: (来源:https://github.com/intel/haxm/issues/105

打开此 windows 设置,它将以某种方式起作用。不要问我为什么。

我还找到了官方新的amd驱动:https://androidstudio.googleblog.com/... 但是我已经在使用新的驱动程序了。在我切换上面的设置后它才起作用。