yml: accept licences using more recent approach

This commit is contained in:
RaFaL 2021-04-26 19:52:56 +02:00
parent b365a35293
commit 52cca29d30

View file

@ -29,8 +29,7 @@ before_script:
- export ANDROID_NDK_HOME=$HOME/NDK_ETL/ndk-bundle
- chmod -R 775 $HOME/NDK_ETL/ndk-bundle
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo yes | sdkmanager --licenses
# Emulator Management: Create, Start and Wait
- echo no | android create avd --force -n test -t android-25 --abi google_apis/arm64-v8a
- emulator -avd test -no-window &