How to use Android Emulator on AMD Ryzen (Android Studio)?

前端 未结 3 2065
感动是毒
感动是毒 2021-02-06 15:25

I try to build Android app from Android Studio.

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

Intel Virtualization T

3条回答
  •  心在旅途
    2021-02-06 15:58

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

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

    Then,

    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

提交回复
热议问题