Fix build-android-jni CI workflow failure Use the workaround mentioned in https://github.com/android-actions/setup-android/issues/537. Fixes https://github.com/AOMediaCodec/libavif/issues/3365.
diff --git a/.github/workflows/ci-android-jni.yml b/.github/workflows/ci-android-jni.yml index e52d42a..e93c42e 100644 --- a/.github/workflows/ci-android-jni.yml +++ b/.github/workflows/ci-android-jni.yml
@@ -38,6 +38,9 @@ java-version: 17 - name: Download and Setup the Android SDK uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1 + # Work around https://github.com/android-actions/setup-android/issues/537. + with: + packages: 'platform-tools' - name: Install CMake in the Android SDK # This is the same version of cmake that is found in build.gradle. This # will be used to build libavif and the JNI bindings.