如何在AMD Ryzen(Android Studio)上使用Android Emulator? [英] How to use Android Emulator on AMD Ryzen (Android Studio)?

查看:789
本文介绍了如何在AMD Ryzen(Android Studio)上使用Android Emulator?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从Android Studio构建Android应用。

I try to build Android app from Android Studio.

我尝试从Android Studio安装程序安装HAXM,但出现错误:

I tried to install HAXM from Android Studio installer but I've an error:

英特尔虚拟化技术已在其中启用我的BIOS。并且Hyper-V已在Windows 10上禁用。

Intel Virtualization Technology is already enabled in my BIOS. And the Hyper-V is already disabled on Windows 10.

推荐答案

对于Windows 10上的Ryzen,请使用最新的稳定器而不是canary

For Ryzen on Windows 10, use the latest stable instead of canary.


  1. 在BIOS中启用虚拟化。

  2. 删除HAXM。

  3. 关闭 Hyper-V Windows Hypervisor平台 Windows Sandbox (取决于您的Windows版本,旧版本可能没有全部) 。 重新启动

  1. Enable virtualization in BIOS.
  2. Remove HAXM.
  3. Turn off Hyper-V, Windows Hypervisor platform, Windows Sandbox(depends on your windows version, old versions may not have all). REBOOT


  1. 通过Android Studio启动SDK Manager,您应该看到用于AMD处理器的Android Emulator Hypervisor驱动程序。检查并单击应用。 SDK Manager将下载安装程序软件包,并将其解压缩到 $ ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver。

  1. Launch SDK Manager via Android Studio and you should see "Android Emulator Hypervisor Driver for AMD Processors". Check and click "Apply". The SDK Manager will download the installer package and unpack it to $ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver.

然后,


  1. 与管理员一起打开Windows命令控制台权限。

  2. 转到$ ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver。

  3. 运行silent_install.bat。确保从安装程序中看到所需的输出:状态:4正在运行

  1. Open a Windows command console with administrator privileges.
  2. Go to $ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver.
  3. Run silent_install.bat. Make sure you see the desired output from the installer: STATE: 4 RUNNING

这篇关于如何在AMD Ryzen(Android Studio)上使用Android Emulator?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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