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.
To configure the Step:
$BITRISE_EMULATOR_SERIAL Env Var, which is generated by the AVD Manager Step.