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
- Add the AVD Manager Step to your Workflow as one of the first Steps in your Workflow.
- Set the Device Profile to create a new Android virtual device. To see the complete list of available profiles, use the
avdmanager list devicecommand and use theidvalue for this input. - Set the Android API Level. The new virtual device will run with the specified Android version.
- 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.

