steps-wait-for-android-emulator

command module
v0.0.0-...-b6be9e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 12 Imported by: 0

README

Wait for Android emulator

Step changelog

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:

  1. Make sure to add this Step after the AVD Manager Step.
  2. 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.
  3. Specify the number of seconds the Step should wait for the emulator to boot in the Waiting timeout (secs) input.
  4. Specify the location of the Android SDK in the Android SDK path input.

🧩 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:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL