From 91abb6dd6f8621c5a8f2293fcec8e1c7576c7f82 Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Mon, 6 Nov 2023 02:11:06 +0900 Subject: [PATCH] Use explicit paths --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2602a67b..42414280 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -21,10 +21,10 @@ jobs: cache: gradle - name: Create an Android Virtual Device - run: avdmanager create avd -n emulator -k "system-images;android-33;google_apis;x86_64" + run: $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n emulator -k "system-images;android-33;google_apis;x86_64" - name: Launch the emulator - run: emulator -avd emulator + run: $ANDROID_HOME/emulator/emulator -avd emulator - name: Grant execute permission for gradlew run: chmod +x gradlew