Android Emulator Timeout after 5400 seconds

Hello,
I have an UI Appium Tests workflow which contains a step to launch an Android Emulator. Since it’s not possible to use AVD Manager Step I used this script

It worked well but lately this steps always stuck and timeout after 90 mins with this message :slight_smile:

Waiting emulator is ready…

  • adb wait-for-device shell ‘while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82’

  • emulator -avd Nexus_5X_API_26 -no-window -no-audio -debug-init

  • daemon not running; starting now at tcp:5037

  • daemon started successfully

timeout after 5400 seconds

Can you please tell me which can cause this error ?
Url of build : Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation
Stack env: Default (Android & Docker on Ubuntu 16.04 )

Hi @mounir!

As mentioned in the other thread you’ve pasted, the script alone isn’t sufficient, in case you want to make the emulator work please try the LTS Android environment instead :slight_smile:

thanks @bitce for your reply I changed the stack to LTS Android environnement and it works !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.