Run Android studio emulator on AMD processor

后端 未结 14 1494
余生分开走
余生分开走 2020-11-28 03:37

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) emul

相关标签:
14条回答
  • 2020-11-28 03:50

    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.

    0 讨论(0)
  • 2020-11-28 03:52

    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
    0 讨论(0)
  • 2020-11-28 03:54

    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.

    0 讨论(0)
  • 2020-11-28 03:54

    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!

    0 讨论(0)
  • 2020-11-28 03:58

    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.

    0 讨论(0)
  • 2020-11-28 03:58

    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
    0 讨论(0)
提交回复
热议问题