Wait for Android emulator
Wait for the emulator to finish boot
Description
If your Workflow contains the AVD Manager Step,
you can use this Step to check if the Android emulator is booted or wait for it to finish booting.
Warning: This Step is not yet supported on Apple Silicon (M1) machines. If you cannot find a solution to this error, try running this Workflow on an Intel-based machine type.
Configuring the Step
To configure the Step:
- Make sure to add this Step after the AVD Manager Step.
- Add the emulator's serial to the Emulator serial input. By default, this is set to the
$BITRISE_EMULATOR_SERIAL
Env Var, which is generated by the AVD Manager Step.
- Specify the number of seconds the Step should wait for the emulator to boot in the Waiting timeout (secs) input.
- Specify the location of the Android SDK in the Android SDK path input.
Useful links
🧩 Get started
Add this step directly to your workflow in the Bitrise Workflow Editor.
You can also run this step directly with Bitrise CLI.
⚙️ Configuration
Inputs
Key |
Description |
Flags |
Default |
emulator_serial |
Emulator with the given serial will be checked if booted, or wait for it to boot. |
required |
$BITRISE_EMULATOR_SERIAL |
boot_timeout |
Maximum time to wait for emulator to boot. |
required |
300 |
android_home |
Android SDK path |
required |
$ANDROID_HOME |
Outputs
There are no outputs defined in this step
🙋 Contributing
We welcome pull requests and issues against this repository.
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: