This commit is contained in:
parent
e1d3a54ebf
commit
ba3b963d84
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ jobs:
|
||||||
- name: Initialize AVD
|
- name: Initialize AVD
|
||||||
run: |
|
run: |
|
||||||
sdkmanager "platform-tools" "platforms;android-${{ vars.ANDROID_API }}"
|
sdkmanager "platform-tools" "platforms;android-${{ vars.ANDROID_API }}"
|
||||||
sdkmanager --install "system-images;android-${apiLevel};${{ vars.ANDROID_TARGET }}${{ vars.ANDROID_ARCH }}"
|
sdkmanager --install "system-images;android-${{ vars.ANDROID_API }};${{ vars.ANDROID_TARGET }};${{ vars.ANDROID_ARCH }}"
|
||||||
sdkmanager --update
|
sdkmanager --update
|
||||||
echo "y" | sdkmanager --licenses
|
echo "y" | sdkmanager --licenses
|
||||||
sdkmanager --list
|
sdkmanager --list
|
||||||
echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${apiLevel};${target};${arch}" --tag "${target}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}"
|
echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${{ vars.ANDROID_API }};${{vars.ANDROID_TARGET}};${{ vars.ANDROID_ARCH }}" --tag "${{vars.ANRDOID_TARGET}}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}"
|
||||||
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth &
|
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth &
|
||||||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
|
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
|
||||||
flutter doctor -v
|
flutter doctor -v
|
||||||
|
|
Loading…
Reference in a new issue