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