fix(ci): deeper SDK verification — find android.jar actual location
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -101,12 +101,10 @@ jobs:
|
|||||||
# ── Build ──────────────────────────────────────────────────────────
|
# ── Build ──────────────────────────────────────────────────────────
|
||||||
- name: Verify SDK structure
|
- name: Verify SDK structure
|
||||||
run: |
|
run: |
|
||||||
echo "=== /opt/android-sdk/ ==="
|
echo "=== /opt/android-sdk tree ==="
|
||||||
ls ${{ env.ANDROID_SDK }}/ || echo "MISSING"
|
find ${{ env.ANDROID_SDK }} -maxdepth 3 -type d 2>/dev/null || echo "SDK dir missing"
|
||||||
echo "=== platforms/ ==="
|
echo "=== find android.jar ==="
|
||||||
ls ${{ env.ANDROID_SDK }}/platforms/ || echo "MISSING"
|
find /opt /root /usr/local/lib/android -name "android.jar" 2>/dev/null || echo "android.jar not found"
|
||||||
echo "=== android-34/ ==="
|
|
||||||
ls ${{ env.ANDROID_SDK }}/platforms/android-34/ 2>/dev/null | head -3 || echo "MISSING"
|
|
||||||
|
|
||||||
- name: Install cargo-apk
|
- name: Install cargo-apk
|
||||||
if: steps.apk-tool-cache.outputs.cache-hit != 'true'
|
if: steps.apk-tool-cache.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user