~/talk

Best practices in using the Android Emulator

Talkat Google I/O 2019 · 2019-05-07..05-09· [android, developer-experience]
name:Sam Lin
links:none on file
links:none on file
name:Hoi Lam
github:hoitab
slides:none on file

Android Emulator claims near-device speed (benchmarks show it slightly outperforms a Pixel 2 XL) by running x86 guests with CPU hypervisors (HAXM, Windows Hypervisor Platform, macOS Hypervisor Framework, KVM) and GPU virtualization for Vulkan/OpenGL ES 3.1. File transfers use virtual TCP/shared memory so adb push is much faster. Features include Quick Boot snapshots that resume in seconds, a Virtual Scene camera with AR Core Macros for repeatable AR tests, Play Store-enabled end-to-end testing (including in‑app purchases), 900,000 compatibility tests, multi-instance read-only clones with copy-on-write RAM sharing, and an emulator-headless binary for CI.

AI-written summary · about

  1. 0:00Introduction and history
  2. 2:27Emulator speed benchmarks
  3. 3:22Architectural improvements
  4. 5:45Faster workflows and ADB
  5. 7:38Snapshot and quick boot
  6. 9:11ARCore virtual camera
  7. 11:16Efficiency and battery
  8. 12:37Compatibility and testing
  9. 15:42Google Play Store support
  10. 17:11Snapshots for workflows
  11. 20:46Multitasking and foldables
  12. 23:02Parallel instance testing
  13. 25:37Multi-instance scenarios
  14. 27:59Headless mode for CI
  15. 30:17Diagnostic workflow
  16. 33:09Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.