File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,16 @@ jobs:
1515 - name : " Launch emulator"
1616 run : |
1717 # Install AVD files
18- echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install 'system-images;android-35;google_apis;x86_64'
19-
18+ echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install 'system-images;android-28;default;armeabi-v7a'
2019 # Create emulator
21- echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n xamarin_android_emulator -d "Nexus 10" -k 'system-images;android-35;google_apis;x86_64' --force
22-
20+ echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n test -d "Nexus 10" -k 'system-images;android-28;default;armeabi-v7a' --force
2321 echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
24-
2522 echo "Starting emulator"
26-
2723 # Start emulator in background
28- nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -no-snapshot -no-window -no-audio -no-boot-anim -accel on > /dev/null 2>&1 &
24+ nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no- accel &
2925 # Fixed quoting around "\r"
3026 $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'
31-
3227 $ANDROID_HOME/platform-tools/adb devices
33-
3428 echo "Emulator started"
3529
3630 - name : " Check emulator"
You can’t perform that action at this time.
0 commit comments