Monday, October 8, 2018

Android Emulator - Amd Processor & Hyper-V Support

Posted past times Jamal Eason, Product Manager, Android

Since the major revamp of the Android Emulator 2 years ago, nosotros cause got focused on delivering a fast together with feature-rich emulator to assistance you lot gear upward neat app experiences for users. Today, the Android Emulator is the laissez passer on device deployed to from Android Studio — to a greater extent than than 2x over physical Android devices. We are humbled to listen from many of you lot that the Android Emulator has come upward a long way, simply nosotros are non done yet.

Making the Android Emulator faster is i of the laissez passer on priorities for the Android Studio team. Over the terminal few releases, nosotros cause got launched quick boot & emulator snapshots for apace starting together with resuming emulator sessions inwards nether 2 seconds. Up until now, our emulator experience has close universally worked on macOS® together with Linux computers. But for users of Microsoft® Windows® or the Microsoft® Hyper-V platform, our hardware accelerated speed enhancements for the Android Emulator solely worked alongside computers alongside Intel® processors. Support for AMD® processors together with Microsoft Hyper-V hypervisor are 2 long-standing user requests from the Android developer community that nosotros are happy to address alongside this Android Emulator update.

Today, you lot tin give the sack download the latest Android Emulator release, which is enabled to run x86 based Android Virtual Devices (AVD) on computers that role AMD processors. This exciting update makes the Android Emulator to a greater extent than accessible to a novel laid of Android app developers that were previously express to software emulation, simply tin give the sack similar a shot cause got hardware accelerated performance. Moreover, for those of you lot who role Hyper-V to run your local app backend, the Android Emulator tin give the sack similar a shot also coexist alongside other Hyper-V-backed applications on Windows® 10.

Thanks to a novel Microsoft Windows Hypervisor Platform (WHPX) API together with recent open-source contributions from Microsoft, fifty-fifty to a greater extent than Android app developers tin give the sack cause got payoff of all the speed improvements together with features inwards the Android Emulator.

Android Emulator running on Windows 10 alongside AMD Processor Screenshot Configuration: Asus ROG Strix GL 702ZC, Processor: AMD® Ryzen seven 1700 Processor, Chipset: AMD 5350, Graphics: AMD® Radeon RX580

Support for these technologies was initially available inwards the v27.3.8 Android Emulator canary loose together with today nosotros are releasing this laid of preview features (AMD processor & Hyper-V support) on the stable channel for to a greater extent than feedback. Alongside this update, nosotros cause got added additional speed improvements inwards loading emulator snapshots for those developers using the Intel® Hardware Accelerated Execution Manager (HAXM).

How to use

Linux

If you lot role Linux for Android app development, the Android Emulator volition instruct out along to role the native Kernel-based Virtual Machine (KVM) hypervisor for both Intel together with AMD based computers for a fast together with performant virtualization solution. An update to the v27.3.8 Android Emulator volition offering you lot the novel snapshots UI along alongside improvements to performance, reliability together with resources usage.

macOS

For OS X v10.10 Yosemite together with higher, the Android Emulator uses the built-in Hypervisor.Framework past times default, together with falls dorsum to using the Intel Hardware Accelerated Execution Manager (HAXM) if Hypervisor.Framework fails to initialize (such every bit when running on OS X v10.9 or earlier). Once you lot update to the latest Android Emulator on macOS, you lot volition also cause got access to the novel snapshots UI along alongside nether the hood functioning together with reliability improvements.

Android Emulator - Snapshots Extended Controls

Microsoft Windows

On Intel x86-based computers, the Android Emulator volition instruct out along to role Intel HAXM past times default. Intel HAXM is a mature together with open-sourced hypervisor solution developed past times Intel. Thanks to on-going evolution past times Intel, the fastest emulator functioning on Windows is even together with therefore alongside Intel HAXM. To download the latest Intel HAXM v7.2.0, cheque for updates inwards the Android SDK Manager.

If you lot cause got an AMD processor inwards your estimator you lot ask the next setup requirements to hold upward inwards 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 alongside Apr 2018 Update
  • Enable via Windows Features: "Windows Hypervisor Platform"

Windows Hypervisor Platform setting inwards Windows 10

If you lot desire to role Hyper-V at the same fourth dimension every bit the Android Emulator on your Intel processor-based computer, you lot volition also ask the same Android Studio together with Android Emulator versions every bit listed above, simply alongside the additional requirements:

  • Enable via Windows Features: "Hyper-V" - Only available for Windows 10 Professional/Education/Enterprise
  • Intel Processor : Intel® Core processor that supports Virtualization Technology (VT-x), Extended Page Tables (EPT), together with Unrestricted Guest (UG) features. Additionally VT-x needs to hold upward enabled inwards the BIOS.

For to a greater extent than setup tips together with troubleshooting details, cheque out the documentation page.

Again, for existing Windows users who cause got an Intel-based processor, the Android Emulator volition instruct out along to role the faster together with recommended Intel HAXM configuration. For those using AMD processors, together with those who role Hyper-V hypervisors, this should hold upward an exciting stride forrad to get-go using the Android Emulator.

Next Steps & Feedback

Download the latest Android Emulator from the Android Studio 3.2 Beta SDK Manager for the latest functioning updates across all supported platforms that you lot are using. We are going to instruct out along to invest inwards functioning improvements for each of the platforms together with nosotros expect forrad to your feedback together with characteristic requests.

If you lot uncovering a põrnikas or issue, experience complimentary to file an issue. Connect alongside us -- the Android Studio evolution squad ‐ on our Google+ page or on Twitter.

Related Post

Android Emulator - Amd Processor & Hyper-V Support
4/ 5
Oleh