Azure Devops Pipelines: Install and start an Android Emulator
Published 2018-11-14, 15:17
#!/usr/bin/env bash
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-27;google_apis;x86'
$ANDROID_HOME/platform-tools/adb devices
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n test_android_emulator -k 'system-images;android-27;google_apis;x86' --force
nohup $ANDROID_HOME/emulator/emulator -avd test_android_emulator -no-snapshot > /dev/null 2>&1 & $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
echo "Emulator started"
https://developercommunity.visualstudio.com/content/problem/340547/azure-devops-unable-to-run-the-android-emulator-on.html
https://github.com/MicrosoftDocs/vsts-docs/issues/1677#issuecomment-433858827
Topic(s): Link
No comments - :(
Zum Artikel Azure Devops Pipelines: Install and start an Android Emulator sind noch keine Kommentare vorhanden. Deine Meinung wäre jedoch willkommen!