https://github.com/bitrise-steplib/steps-wait-for-android-emulator
https://github.com/bitrise-steplib/steps-wait-for-android-emulator
bitrise bitrise-step ci production-code
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitrise-steplib/steps-wait-for-android-emulator
- Owner: bitrise-steplib
- License: mit
- Created: 2017-02-13T16:37:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-22T13:29:32.000Z (9 months ago)
- Last Synced: 2025-03-24T07:52:07.953Z (7 months ago)
- Topics: bitrise, bitrise-step, ci, production-code
- Language: Go
- Homepage:
- Size: 1.91 MB
- Stars: 3
- Watchers: 11
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wait for Android emulator
[](https://github.com/bitrise-steplib/steps-wait-for-android-emulator/releases)
Wait for the emulator to finish boot
Description
If your Workflow contains the [AVD Manager](https://www.bitrise.io/integrations/steps/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](https://www.bitrise.io/integrations/steps/avd-manager) Step.
1. 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](https://www.bitrise.io/integrations/steps/avd-manager) Step.
1. Specify the number of seconds the Step should wait for the emulator to boot in the **Waiting timeout (secs)** input.
1. Specify the location of the Android SDK in the **Android SDK path** input.### Useful links
* [Run tests using the Android emulator](https://devcenter.bitrise.io/en/steps-and-workflows/workflow-recipes-for-android-apps/-android--run-tests-using-the-emulator.html)
* [Workflow recipe: Run tests using the Android emulator](https://devcenter.bitrise.io/en/steps-and-workflows/workflow-recipes-for-android-apps/-android--run-tests-using-the-emulator.html)### Related Steps
* [AVD Manager](https://www.bitrise.io/integrations/steps/avd-manager)
* [Gradel Runner](https://www.bitrise.io/integrations/steps/gradle-runner)## 🧩 Get started
Add this step directly to your workflow in the [Bitrise Workflow Editor](https://devcenter.bitrise.io/steps-and-workflows/steps-and-workflows-index/).
You can also run this step directly with [Bitrise CLI](https://github.com/bitrise-io/bitrise).
## ⚙️ 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](https://github.com/bitrise-steplib/steps-wait-for-android-emulator/pulls) and [issues](https://github.com/bitrise-steplib/steps-wait-for-android-emulator/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](https://devcenter.bitrise.io/bitrise-cli/run-your-first-build/).
Learn more about developing steps:
- [Create your own step](https://devcenter.bitrise.io/contributors/create-your-own-step/)
- [Testing your Step](https://devcenter.bitrise.io/contributors/testing-and-versioning-your-steps/)