Skip to content

Commit

Permalink
try accelerate gpu and other option to optimize device's booting
Browse files Browse the repository at this point in the history
  • Loading branch information
greenEkatherine committed Feb 8, 2021
1 parent a56dfe4 commit e840c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sed -i 's/^\(hw.ramSize=\).*$/\12048M/' ~/.android/avd/xamarin_android_emulator.avd/config.ini
# solution from https://stackoverflow.com/a/16402304 to fix error "System UI is not responding"
sed -i 's/^\(hw.mainKeys=\).*$/\1yes/' ~/.android/avd/xamarin_android_emulator.avd/config.ini
nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -gpu host -skin 1080x1920 -no-snapshot -no-audio -no-boot-anim -accel auto -gpu auto -qemu > /dev/null 2>&1 &
nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -delay-adb -gpu swiftshader_indirect -no-window -skin 1080x1920 -no-snapshot -no-audio -no-boot-anim -accel auto -qemu > /dev/null 2>&1 &
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
$ANDROID_HOME/platform-tools/adb devices
Expand Down

0 comments on commit e840c24

Please sign in to comment.