icon

AVD Manager

Create and boot an Android emulator used for device testing

Run instrumented and UI tests on a virtual Android device. Once some basic inputs are set, the Step checks the requirements, downloads the selected system image before creating and starting the emulator.

Warning: Android emulators can't run on Apple Silicon build machines. Until nested virtualization becomes supported, you should run emulator tests on Linux machines.

Configuring the Step

  1. Add the AVD Manager Step to your Workflow as one of the first Steps in your Workflow.
  2. Set the Device Profile to create a new Android virtual device. To see the complete list of available profiles, use the avdmanager list device command and use the id value for this input.
  3. Set the Android API Level. The new virtual device will run with the specified Android version.
  4. Select an OS Tag to have the required toolset on the new virtual device.

Some system images are pre-installed on the virtual machines. In this case the step won't have to spend time downloading the requested image. To check the list of pre-installed images for each stack, visit the system reports.

By default, the Step waits for the emulator to boot up and disables system animations in order to make tests faster and more reliable. If you want to disable these, set the Disable animations input to no. In this case, make sure to add the Wait for Android emulator Step to the right part of your workflow.

Useful links

Related Steps

Similar steps

Runs Test on your macOS project with Swift Package Manager

Fetch secrets from AWS Secrets Manager

Install NVM and select Node version

Runs Build on your macOS project with Swift Package Manager