Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I have got an AMD Ryzen CPU and Android emulator doesn't work

I have got an AMD Ryzen CPU and Android emulator doesn't work. It doesn't start the emulator becouse the CPU doesn't support the x86 emulator

like image 415
Simone Avatar asked May 29 '17 19:05

Simone


People also ask

Does Android emulator work on AMD?

The Android Emulator Hypervisor Driver for AMD Processors can be installed via the SDK Manager in Android Studio 4.0 Canary 5 or later, or from Github (see below). To install from the SDK Manager, follow these steps: Open Tools->SDK Manager.

Which emulator is best for AMD processor?

MEmu emulator MEmu is another excellent Android emulator that seems to do quite well with gamers. One of its biggest features is support for both AMD and Intel chipsets. Most work on AMD processors, but it's nice to see developers specifically pay attention to AMD's platform.

Is Ryzen compatible with Android Studio?

Ryzen + android studio is great now.


2 Answers

Update - My previous answer is no longer true. Google has added AMD and Hyper-V support into their latest beta. Thanks to ReverseCold for letting me know. Please see his answer below.

Update 2 - I had to set this up today. To save some googling, here is the powershell command to enable Hyper-V. Pulled from Microsoft's Docs

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 

Make sure to run powershell as an administrator.

Update 3 - Turns out there's a difference between Windows Hypervisor Platform and Hyper-V. You'll need to enable the first one for Android emulation to work. Just click start and type Turn Windows features on or off until you see the control panel option of the same name. Then enable the feature from the menu that pops up after clicking that.


According to This answer, AMD virtualization for Android is only supported on Linux. If Ryzen becomes hugely popular, maybe they'll write one for Windows, but I won't be holding my breath.

like image 183
Euroclydon37 Avatar answered Sep 20 '22 04:09

Euroclydon37


The latest beta has support for Ryzen. Source

The following is from the google blog post: If you have an AMD processor in your computer you need the following setup requirements to be in place:

  • AMD Processor - Recommended: AMD® Ryzen™ processors
  • Android Studio 3.2 Beta or higher - download via Android Studio Preview page
  • Android Emulator v27.3.8+ - download via Android Studio SDK Manager
  • x86 Android Virtual Device (AVD) - Create AVD
  • Windows 10 with April 2018 Update
  • Enable via Windows Features: "Windows Hypervisor Platform"
like image 44
njha Avatar answered Sep 18 '22 04:09

njha