From 55ee412a1b930911583d9c35a8fb7ca918e61d2d Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 3 Oct 2026 02:53:16 +0200 Subject: [PATCH] ci(android): stop setup-android requesting the removed tools package --- .github/workflows/android.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 20f7bd1..c1d7e2e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -82,7 +82,13 @@ jobs: distribution: temurin java-version: '17' + # The action's default `packages` includes `tools`, which cmdline-tools + # 16.0 no longer offers, so sdkmanager exits 1. The SDK pieces this + # build needs are installed explicitly below. - uses: android-actions/setup-android@v3 + with: + packages: platform-tools + log-accepted-android-sdk-licenses: false - name: Install native build prerequisites run: | @@ -149,7 +155,13 @@ jobs: distribution: temurin java-version: '17' + # The action's default `packages` includes `tools`, which cmdline-tools + # 16.0 no longer offers, so sdkmanager exits 1. The SDK pieces this + # build needs are installed explicitly below. - uses: android-actions/setup-android@v3 + with: + packages: platform-tools + log-accepted-android-sdk-licenses: false - name: Install native build prerequisites run: |