Friday, October 26, 2018

Quick Kicking & The Summit Features Inwards The Android Emulator

Posted past times Jamal Eason, Product Manager, Android

Today, nosotros are excited to denote Quick Boot for the Android Emulator. With Quick Boot, y'all tin sack launch the Android Emulator inwards nether half dozen seconds. Quick Boot industrial plant past times snapshotting an emulator session therefore y'all tin sack reload inwards seconds. Quick Boot was showtime released amongst Android Studio 3.0 inwards the canary update channel in addition to nosotros are excited to unloose the characteristic equally a stable update today.

In improver to this novel feature, nosotros also wanted to highlight unopen to of the top features from recent releases. Since the consummate revamp of the Android Emulator two years ago, nosotros choke on to focus on improving speed, stability in addition to adding a rich gear upwardly of features that accelerate your app evolution in addition to testing. With all the recent changes, it is definitely worth updating to the latest version of the Android Emulator to role it today.

Top v Features

  • Quick Boot - Released equally a stable characteristic today, Quick Boot allows y'all to resume your Android Emulator session inwards nether half dozen seconds. The showtime fourth dimension y'all begin an Android Virtual Device (AVD) amongst the Android Emulator, it must perform a mutual depression temperature kicking (just similar powering on a device), but subsequent starts are fast in addition to the organisation is restored to the nation at which y'all closed the emulator finally (similar to waking a device). We accomplished this past times completely re-engineering the legacy emulator snapshot architecture to locomote amongst virtual sensors in addition to GPU acceleration. No additional setup is required because Quick Boot is enabled past times default starting amongst Android Emulator v27.0.2.

Quick Boot inwards the Android Emulator

  • Android CTS Compatibility - With each unloose of the Android SDK, nosotros ensure that the Android Emulator is create for your app evolution needs, from testing backwards compatibility amongst Android KitKat to integrating the latest APIs of the developer preview. To increase production character in addition to reliability of emulator organisation images, nosotros at 1 time qualify terminal Android System Image builds from Android Nougat (API 24) in addition to higher against the Android Compatibility Test Suite (CTS)—the same testing suite that official Android physical devices must pass.
  • Google Play Support - We know that many app developers role Google Play Services, in addition to it tin sack live on hard to maintain the service upwardly to appointment inwards the Android Emulator organisation images. To solve this problem, nosotros at 1 time offering versions of Android System Images that include the Play Store app. The Google Play images are available starting amongst Android Nougat (API 24). With these novel emulator images, y'all tin sack update Google Play Services via the Play Store app inwards your emulator only equally y'all would on a physical Android device. Plus, y'all tin sack at 1 time examination end-to-end install, update, in addition to buy flows amongst the Google Play Store.
  • Performance Improvements - Making the emulator fast in addition to performant is an on-going destination for our team. We continuously await at the functioning comport on of running the emulator on your evolution machine, peculiarly RAM usage. With the latest versions of the Android Emulator, nosotros at 1 time allocate RAM on demand, instead of allocating in addition to pinning the retentivity to the max RAM size defined inwards your AVD. We produce this past times tapping into the native hypervisors for Linux (KVM) in addition to macOS® (Hypervisor.Framework), in addition to an enhanced Intel® HAXM (v6.2.1 in addition to higher) for Microsoft® Windows®, which uses the novel on-demand retentivity allocation.
  • Additionally, over the finally several releases, nosotros accept improved CPU in addition to I/O functioning land enhancing GPU performance, including OpenGL ES 3.0 support. Looking at a mutual job such equally ADB force highlights the improvements inwards the Android CPU in addition to I/O pipelines:

    ADB Push Speed Comparison amongst Android Emulator

    For GPU performance, nosotros created a sample GPU emulation stress examination app to approximate improvements over time. We institute that the latest emulator tin sack homecoming higher frame rates than before, in addition to it is 1 of the few emulators that tin sack homecoming OpenGL ES 3.0 accurately per the Android specification.

GPU Emulation Stress Test - Android App

GPU Emulation Stress Test amongst Android Emulator

More Features

In improver to these major features, at that spot are a whole host of additional features that nosotros accept added to the Android Emulator over the finally yr that y'all may non live on aware of:

  • Wi-Fi support - Starting amongst API 24 organisation images, y'all tin sack create an AVD that both connects to a virtual cellular network in addition to a virtual Wi-Fi Access Point.
  • Google Cast back upwardly - When using a Google Play organisation image, y'all tin sack cast concealment in addition to good content to Chromecast devices on the same Wi-Fi network.
  • Drag in addition to driblet APKs & files - Simply drag an APK onto the Android Emulator window to trigger an app install. Also y'all tin sack drag whatsoever other information file in addition to honour it inwards the /Downloads folder inwards your Android Virtual Device.
  • Host re-create & glue - You tin sack re-create & glue text betwixt the Android Emulator in addition to your evolution machine.
  • Virtual 2-finger pinch & zoom - When interacting amongst apps similar Google Maps, concur downward the Ctrl Key (on Microsoft® Windows® or Linux) or ⌘ (on macOS® ) , in addition to a finger overlay appears on concealment to aid amongst pinch & zoom actions.
  • GPS place - Manually direct a GPS signal or gear upwardly of GPS points nether the Location tab of the Android Emulator.
  • Virtual sensors - There is a dedicated page inwards the extended controls panel that has supported sensors inwards the Android Emulator including acceleration, rotation, proximity in addition to many more.
  • WebCam back upwardly - You tin sack role a webcam or your laptop built-in webcam equally a virtual photographic telly camera inwards the AVD. Validate your AVD photographic telly camera settings inwards the Advanced Settings page inwards the AVD Manager.
  • Host machine keyboard - You tin sack role your existent keyboard to larn into text into the Android Virtual Device.
  • Virtual SMS in addition to telephone calls - In the extended controls panel, y'all tin sack trigger a virtual SMS or telephone phone telephone to examination apps amongst telephony dependencies.
  • Screen zooming - On the master copy toolbar, click on the magnify drinking glass icon to larn into zoom mode, in addition to and therefore direct a part of the concealment y'all wish to inspect.
  • Window resizing - Simply drag a corner of the Android Emulator window to modify to the desired size.
  • Network proxy support - Add a custom HTTP proxy for your Android Emulator session past times going to the Settings page nether the Proxy tab.
  • Bug reporting - You tin sack speedily generate a põrnikas study for your app past times using the Bug Report department inwards the extended controls panel to percentage amongst your squad or to post feedback to Google.

Learn to a greater extent than well-nigh the Android Emulator inwards the Emulator documentation.

Getting Started

All of these features in addition to improvements are available to download in addition to role at 1 time amongst Android Emulator v27.0.2+, which y'all tin sack larn via the SDK Manager inwards Android Studio. For a fast experience, nosotros recommend creating in addition to running the x86 version of emulator organisation images, amongst the latest Android Emulator, Intel® HAXM (if applicable) in addition to graphics drivers installed.

We appreciate whatsoever feedback on things y'all like, issues or features y'all would similar to see. If y'all honour a bug, issue, or accept a characteristic asking experience complimentary to file an issue. We are definitely non done, but nosotros promise y'all are excited well-nigh the improvements therefore far.

Related Post

Quick Kicking & The Summit Features Inwards The Android Emulator
4/ 5
Oleh