diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ecf0062..a723f4e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -18,9 +18,12 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v2 - - uses: nttld/setup-ndk@v1 - with: - ndk-version: r19c + - name: Setup Android NDK + run: | + export NDK_VERSION=r19c + curl -L https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip -O + unzip -q android-ndk-${NDK_VERSION}-linux-x86_64.zip + export ANDROID_NDK_HOME=`pwd`/android-ndk-${NDK_VERSION} - name: Build with Gradle run: ./gradlew assembleDebug