Enable hardware acceleration of AMD processors for android emulators

Enable hardware acceleration of AMD processors for android emulators

There are many android emulators out there which do not take advantage of WHPX or Hyper-V specially for AMD processors. (what is Hyper-V)

This post is part of a series - Running performant android emulator for Window 10, AMD processor and RX580 GPU.


Step 1 - Check if your CPU supports it

  • Open Command prompt and type "systeminfo" and scroll to Hyper-V Requirements section.
  • All four requirements should say "Yes" to proceed.
  • If it says No, that means either virtualization is disabled in BIOS or your CPU does not support virtualization.

Step 2 - Turn on Hyper-V

  • Type "Turn Windows features on or off" in windows search to open the app and enable Hyper-V and Windows Hypervisor Platform

Step 3 - Add it to emulator properties

  • This assumes you have android studio installed and already downloaded some emulator AVD's.
  • Go to ".android" folder usually located "c:\Users\<XXXX>\.android"
  • Create a file "advancedFeatures.ini" if not present in the folder and add the line
WindowsHypervisorPlatform = on
  • Another alternative is to start the emulator from command line with following option, but you would have to invoke it every time.
Emulator -avd  -feature WindowsHypervisorPlatform


FYI for Hyper-V

Show Comments