Skip to content

Emulator Management

Create an Android 35 emulator called Pixel6_API35

Create an emulator called Pixel7Pro_API34 with a Pixel 7 Pro device profile and API 34

First, check what’s available:

List available SDK packages

Then install a system image if needed:

Install system-images;android-35;google_apis;arm64-v8a

Start the Pixel6_API35 emulator

Start the emulator with a cold boot

Cold boot ignores any saved snapshot and boots from scratch. Useful when the emulator is in a bad state.

Start the emulator in headless mode (no window)

Perfect for CI/CD environments.

Start the emulator and wipe all data

Resets the emulator to factory state.

Stop the running emulator

Connect to a physical device wirelessly:

  1. Connect your device via USB first
  2. Connect to my device over WiFi ADB

  3. Unplug the USB cable
  4. Your device stays connected over WiFi

To disconnect:

Disconnect WiFi ADB

For headless testing in CI pipelines:

Create an emulator called CI_Test with API 35 and start it headless with cold boot and wiped data

This creates a clean, reproducible test environment.