Android Emulator Timeout after 5400 seconds

step
emulator
appium
testing
android
#1

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 : https://app.bitrise.io/build/2a29443e8709e191
Stack env: Default (Android & Docker on Ubuntu 16.04 )

0 Likes

#2

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:

0 Likes

#3

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

1 Like