Compare commits
2 commits
e95fb87c6a
...
c3db0d2ed2
Author | SHA1 | Date | |
---|---|---|---|
|
c3db0d2ed2 | ||
ba3b963d84 |
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ jobs:
|
|||
- name: Initialize AVD
|
||||
run: |
|
||||
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
|
||||
echo "y" | sdkmanager --licenses
|
||||
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 &
|
||||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
|
||||
flutter doctor -v
|
||||
|
|
Loading…
Reference in a new issue