From 3248f00d66d8f201860a97c66825bdfb40e491f1 Mon Sep 17 00:00:00 2001 From: funman300 Date: Thu, 14 May 2026 11:28:17 -0700 Subject: [PATCH] =?UTF-8?q?fix(ci):=20deeper=20SDK=20verification=20?= =?UTF-8?q?=E2=80=94=20find=20android.jar=20actual=20location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/android-build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/android-build.yml b/.gitea/workflows/android-build.yml index 62e3887..a9f9d39 100644 --- a/.gitea/workflows/android-build.yml +++ b/.gitea/workflows/android-build.yml @@ -101,12 +101,10 @@ jobs: # ── Build ────────────────────────────────────────────────────────── - name: Verify SDK structure run: | - echo "=== /opt/android-sdk/ ===" - ls ${{ env.ANDROID_SDK }}/ || echo "MISSING" - echo "=== platforms/ ===" - ls ${{ env.ANDROID_SDK }}/platforms/ || echo "MISSING" - echo "=== android-34/ ===" - ls ${{ env.ANDROID_SDK }}/platforms/android-34/ 2>/dev/null | head -3 || echo "MISSING" + echo "=== /opt/android-sdk tree ===" + find ${{ env.ANDROID_SDK }} -maxdepth 3 -type d 2>/dev/null || echo "SDK dir missing" + echo "=== find android.jar ===" + find /opt /root /usr/local/lib/android -name "android.jar" 2>/dev/null || echo "android.jar not found" - name: Install cargo-apk if: steps.apk-tool-cache.outputs.cache-hit != 'true'