问题
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
回答1:
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.
回答2:
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.
回答3:
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.
回答4:
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.
- Go to the MB bios and turn SVM on (CPU Virtualization).
- In Windows right click Windows Button => Select "Apps and Features" => "Programs and features" => "Turn Windows Features on and off"
- In the displayed list select Hyper-V checkbox == Make sure the subfolders are all selected. When prompted to restart, restart the PC.
- 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.
回答5:
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.
回答6:
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.
回答7:
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
回答8:
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"
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
回答9:
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.
回答10:
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
回答11:
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.
回答12:
I am using the AMD processor and had the same. 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
来源:https://stackoverflow.com/questions/31366453/run-android-studio-emulator-on-amd-processor