Run Android emulator without GUI (headless Android)

Android0077 picture Android0077 · Jan 1, 2014 · Viewed 26.4k times · Source

How can I run emulator without GUI (headless Android)?

My requirement is to run the headless Android on the emulator. Is it correct if I use ro.config.headless 1? Or disable zygote?

Answer

marius bardan picture marius bardan · May 16, 2019

Android Emulator 28.1.8 now supports running the emulator in headless mode (emulator-headless): https://androidstudio.googleblog.com/2019/02/emulator-2818-canary.html