← Writing

Post

Android Emulator Launcher

A Java Swing desktop app that creates and launches Android emulators, downloads missing system images and lists running devices.

5 July 2023 Anatolii Maltsev 1 min read Systems & tooling java android project

A desktop application for configuring, creating and managing Android emulators, built with Java Swing.

Overview

This tool simplifies managing Android Virtual Devices (AVDs) by providing a user-friendly GUI to create and launch emulators. It automatically downloads missing emulator system images as needed and supports multiple simultaneous running emulators. The interface displays the list of active emulators along with their connection details.

Technologies and tools

  • Java 21
  • Java Swing for the desktop UI
  • Android SDK tools:
    • sdkmanager, manages SDK packages
    • avdmanager, creates and manages Android Virtual Devices
    • emulator, runs the Android emulator
    • adb, Android Debug Bridge for device interaction

Features

  • Automatic download of emulator system images if missing, ensuring Google Play support
  • Supports creating emulators with API levels from 22 to 33
  • Ability to launch and manage multiple (N) emulators simultaneously
  • Emulators can be started with screen off mode to save resources
  • Displays a list of all running emulator devices and their addresses for easy access

How to use

  1. Configure the paths to the Android SDK tools (avdmanager, sdkmanager, emulator) within the application settings.
  2. Launch the application and select desired emulator parameters.
  3. The program will automatically handle image downloads and create the emulator.
  4. Running emulators and their connection info will be shown in the UI.

Demo

License

This project is licensed under the MIT License.

Neighbors in time

when name

Related: the posts that share this one's subject, and where the thread goes next.