Reputation: 801
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
Upvotes: 67
Views: 264617
Reputation: 1370
Year 2024 Steps for running AVD(Android Virtual Device) with AMD chipset like ryzen for windows.
Make sure you have enabled Virtualization support
for your AMD CPU (SVM
is enabled
in BIOS), then follow the steps below.
NOTE: WSL won't work if you follow these steps.
Steps:
bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
bcdedit /set hypervisorlaunchtype off
Restart your windows
and now it should work when you run silent_install.bat
, you can find it at C:\Users\YOURUSERNAME\AppData\Local\Android\SDK\extras\google\Android_Emulator_Hypervisor_Driver
, if its not exist then ensure that you enable it at your Android Studio > SDK Manage > SDK Tools > install 'Android Emulator hypervisor driver
Upvotes: 0
Reputation: 184
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!
Upvotes: 3
Reputation: 53
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
Upvotes: 0
Reputation: 5381
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.
Upvotes: 55
Reputation: 398
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:
Upvotes: 1
Reputation: 4197
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
Upvotes: 5
Reputation: 5139
Windows 10 home version with latest android studio (Nov/2019):
Enable virtualization from BIOS. If you have a laptop, google how to access the BIOS.
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.
Upvotes: 1
Reputation: 627
Open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator:
This works for me.
Upvotes: 26
Reputation: 3580
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.
Upvotes: 4
Reputation: 145
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.
**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.
Upvotes: 8
Reputation: 6323
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:
Upvotes: 1
Reputation: 495
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
Upvotes: 0
Reputation: 2288
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.
Upvotes: 8
Reputation: 1
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.
Upvotes: 0
Reputation: 41
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.
Upvotes: 1