yml: make use of avdmanager instead of android command

This commit is contained in:
RaFaL 2021-04-26 22:10:54 +02:00
parent 248c98ee6e
commit 6c4990bf8e

View file

@ -30,7 +30,7 @@ before_script:
before_install:
- echo yes | sdkmanager "platform-tools" "platforms;android-26" "build-tools;25.0.2" "tools"
# Emulator Management: Create, Start and Wait
- echo no | android create avd --force -n test -t android-25 --abi google_apis/arm64-v8a
- echo no | avdmanager create avd --force -n test -t android-26 --abi google_apis/arm64-v8a
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &