diff --git a/.gitlab-ci-files/wait-for-android-emulator b/.gitlab-ci-files/wait-for-android-emulator index e706c2afd..6e5c35bc7 100755 --- a/.gitlab-ci-files/wait-for-android-emulator +++ b/.gitlab-ci-files/wait-for-android-emulator @@ -9,7 +9,7 @@ failcounter=0 timeout_in_sec=360 until [[ "$bootanim" =~ "stopped" ]]; do - bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &` + bootanim=`${ANDROID_HOME}/platform-tools/adb -e shell getprop init.svc.bootanim 2>&1 &` if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline" || "$bootanim" =~ "running" ]]; then let "failcounter += 1" @@ -25,4 +25,4 @@ until [[ "$bootanim" =~ "stopped" ]]; do sleep 1 done -echo "Emulator is ready" +echo "Emulator is ready" \ No newline at end of file