Update azure-pipelines-android.yml for Azure Pipelines

This commit is contained in:
Tom M 2021-06-13 16:24:36 +02:00
parent 402f70cf02
commit d385341204

View file

@ -565,7 +565,7 @@ jobs:
cd $ANDROID_HOME/tools/bin/
./sdkmanager --list | grep system-images
./sdkmanager 'system-images;android-$(ANDROID_API);default;$(ANDROID_ABI_CMAKE)'
./sdkmanager --licenses
echo "yes" | ./sdkmanager --licenses
echo "no" | avdmanager create avd -n android_emulator -k 'system-images;android-$(ANDROID_API);default;$(ANDROID_ABI_CMAKE)' --force
echo "Emulator created successfully $($ANDROID_HOME/emulator/emulator -list-avds), launching it"
@ -574,6 +574,7 @@ jobs:
$ANDROID_HOME/platform-tools/adb devices echo "Emulator started"
displayName: 'Create and start emulator'
continueOnError: true
enabled: 'false'
- bash: |
set -x