[android] Run Android studio emulator on AMD processor

Android newbie. My processor is AMD, not Intel, so I can't open the emulator in Android studio.

This answer has the comment: 'You can run the ARM (non Intel) emulator image. From your list, just choose a non Intel emulation.' They don't explain where this can be found. Any ideas? Thanks

Android Studio emulator and AMD CPU

This question is related to android android-emulator amd-processor

The answer is


I have a Ryzen 2600X and I am able to run the emulator without problems. Here are the tweaks I made:

*NOTE: You don't need the beta version of Android Studio or Android Emulator.

  1. Go to the MB bios and turn SVM on (CPU Virtualization).
  2. In Windows right click Windows Button => Select "Apps and Features" => "Programs and features" => "Turn Windows Features on and off"
  3. In the displayed list select Hyper-V checkbox == Make sure the subfolders are all selected. When prompted to restart, restart the PC.
  4. After restart and update instalation screen you are back in Windows and you should be able to run the Emulator.

**Note: I have selected x86_64 and plain x86 images(both API 28) from the x86 Images tab and they work just fine.

***Note: Might also check for Android Licenses if errors pop up, I had an issue because of this while using Flutter, maybe it's related to that.


On mine, I had to install ARM AEBI a7a System Image and Google APIs, and also installed MIPS which was only available for API 15, 16, and 17 (I didn't go below 15.) Took about 12 hours of tinkering, but it works now.

alternatively, you can use Genymotion as an emulator, however will most likely lose design abilities otherwise available with included emulators.

It works now. Pretty slow, but it works. Of course, once you have the emulator started, as long as you don't close it, it will be much faster.

You may need to restart Android studio, and I restarted my entire computer just for good measure.

Hope that helps.


Recent updates enabled computers with AMD processors to run Android Emulator and you don't need to install ARM images anymore. Taken from the Android Developers blog:

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
  • Android Emulator v27.3.8+
  • x86 Android Virtual Device (AVD)
  • Windows 10 with April 2018 Update
  • Enable via Windows Features: "Windows Hypervisor Platform"

The important point is enabling Windows Hypervisor Platform and that's it! I strongly recommend reading the whole blog post:
https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html


I am using microsoft's Android emulator with Android Studio. I have an AMD FX8350. The ARM one in android studio is terribly slow.

The only issue is that it requires Hyper-V which is not available on windows 10 Home.

Its a really quick emulator and it is free. The best emulator I have used.


You've probably heard of Bluestacks, and actually you can run and debug your android apps on the Bluestacks emulator. I think this is the best solution to the slow Android Studios emulator speed. Also next time think about buying an Intel processor instead. Look here for more information: Connect Bluestacks to Android Studio


My laptop runs on AMD Ryzen 5 and I was facing a similar issue. I tried some of the fixes here but didn't work but eventually, I read hundreds of blogs and came up with a solution. You need the following setup requirements to be in place:

AMD Processor - Recommended: AMD® Ryzen™ processors Android Studio 3.2 Beta or higher(I run on BETA, However the latest version of Android Studio doesn't need you to install ARM images anymore) Android Emulator v27.3.8+ x86 Android Virtual Device (AVD) Windows 10 with April 2018 Update Enable via Windows Features: "Windows Hypervisor Platform"

With all these features in place, I was running Android studio again. Hope it helped!


Alright, first of all, open your Android SDK Manager: Tools -> Android -> SDK Manager, then chose any platform/package you want to download, expand it and select ARM EABI v7a System Image or ARM 64 v8a System Image then install.

After that, open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator. You may chose from existing or create your own.

For better results, you may need to restart Android Studio.

[UPDATE]

Thanks to @bjornredemption for his clue.

As per Google's latest documentation for Android Emulator v29+ Navigate to Tools -> Android -> SDK Manager then select the "SDK Tools" tab and tick this option:

Android Emulator Hypervisor Driver for AMD Processors

Then click Apply to download then use it for your emulator.


The very first thing you need to do is download extras and tools package from SDK manager and other necessary packages like platform-25 and so on.. , after that open AVD manager and select any emulator you wan't, after that go to "other images" tab and select ARM AEBI a7a System Image and select finish and you are all done hope this would help you.


Tuesday, December 3, 2019

https://androidstudio.googleblog.com/2019/12/emulator-29211-and-amd-hypervisor-12-to.html

Via AMD Hypervisor, we added support for running the emulator on AMD CPUs on Windows:

  • With CPU acceleration
  • Without requiring Hyper-V
  • With speed on par with HAXM

Windows 10 home version with latest android studio (Nov/2019):

  1. Enable virtualization from BIOS. If you have a laptop, google how to access the BIOS.

  2. Enable via Windows Features: "Windows Hypervisor Platform". Restart. No need for Hyper-V and Win10 Pro.

Done. Open Android Studio, the annoying warning is gone, emulator starts just fine.


I am using the AMD processor and had the same issue. To solve this go to control panel-> turn windows features on or off -> check the hyper-V checkbox and click Ok and restart your computer. Now you can create virtual device


The newest version of the Android emulator can be run with Hyper-V instead of Intel HAXM on the Windows 10 1804:

https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/

Short version:

  • install Windows Hypervisor Platform feature
  • Update to Android Emulator 27.2.7 or above
  • put WindowsHypervisorPlatform = on into C:\Users\.android\advancedFeatures.ini or start emulator or command line with -feature WindowsHypervisorPlatform

Open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator:

  • Create Virtual Device
  • Choose any hardware
  • Now in system image you need to click on the "Other Images" tab
  • Select an image to install. IMPORTANT: Notice that for AMD in the "ABI" column it has to say: ARM EABI v7a or ARM 64 v8a
  • Install it and restart Android Studio

This works for me.


Since Android Studio 3.2 and Android Emulator 27.3.8 - the android emulator is supported by Windows Hypervisor Platform and as stated in the official android developer blog - there is mac support (since OS X v10.10 Yosemite) and windows support (since April 2018 Update). You may find further instructions on the developer blog.

In my opinion, the performance is significantly better than all previous workarounds.