Friday, October 25, 2019

Android Emulator Hypervisor Driver for AMD Processors - Canary SDK Package, Install Instructions

Android Emulator Hypervisor Driver for AMD Processors is now available for download via SDK Manager in the Canary channel.

This is meant for AMD users on Windows who want a faster AVD experience on par with HAXM, or cannot run with Hyper-V / WHPX enabled (e.g., running other virtual machine engines such as VMware/VirtualBox or not running Windows 10; however, note that we are still committed to WHPX / Hyper-V for the use cases where that is optimal, such as interop with Docker on Windows).

Follow the instructions below to enable it for faster AVD experience on the AMD platform.

  • Make sure your AMD CPU supports virtualization and BIOS has NOT disabled it. As BIOS options are different among vendors, please refer to your system manufacturer's manual.
  • For Windows 10: All Windows features enabling Hyper-V (either explicitly or silently) must be turned off. See the screenshots below for a few examples.
  • 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:
  • Open a Windows command console with administrator privileges.
  • Go to $ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver.
  • Run silent_install.bat. Make sure you see the desired output from the installer: STATE: 4 RUNNING

If something goes wrong, please file an issue in Issuetracker. Make sure to submit your CPU model, OS version info, and the installer output.

Note: In a future version of Studio, this will all be automatic based on your current CPU configuration.

Note: This is based on porting KVM for Windows. We will open source the driver.