Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Manually accept Android licenses instead of relying on third party action

Simon Marquiscefac1644514
diff --git a/.github/workflows/AndroidCIWithGmd.yaml b/.github/workflows/AndroidCIWithGmd.yaml
index e10c49f9e..f504540b7 100644
--- a/.github/workflows/AndroidCIWithGmd.yaml
+++ b/.github/workflows/AndroidCIWithGmd.yaml
@@ -30,8 +30,8 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- - name: Setup Android SDK
- uses: android-actions/setup-android@v2
+ - name: Accept Android licenses
+ run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true
- name: Build AndroidTest apps
run: ./gradlew packageDemoDebug packageDemoDebugAndroidTest