diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 3d89fc7..b7c41b0 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -51,8 +51,11 @@ jobs: - name: Fix ndk version # As of this commit day ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/26.3.11579264 - # We just want the ndk to be v26 for agp 8.5 - run: echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" + # We just want the ndk to be v26 for agp 8.5 / gradle 8.7 + run: | + echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" && \ + echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" && \ + echo "ANDROID_NDK=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" - name: gradle cargoNDK plugin needs this file for some reason run: touch android/local.properties