Skip to content

Commit

Permalink
Fix create AVD
Browse files Browse the repository at this point in the history
  • Loading branch information
adimiz1 committed Jan 7, 2024
1 parent e79eaf0 commit 415fda3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ jobs:
- name: Accept Android Licenses
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses

- name: Create AVD
- name: Install SDK components
run: |
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platforms;android-31"
echo "no" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n testRunner -d 19 -k "system-images;android-31;google_apis;x86_64"
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platforms;android-31" "system-images;android-31;google_apis;x86_64"
- name: Create AVD
run: echo "no" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n testRunner -d 19 -k "system-images;android-31;google_apis;x86_64"

- name: Cache Gradle Dependencies
uses: actions/cache@v2
Expand Down

0 comments on commit 415fda3

Please sign in to comment.