From 4c393f933d9a717072204dcc642093e913d991b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?whalensun=28=E5=AD=99=E4=BC=9F=29?= <532125505@qq.com> Date: Thu, 25 Apr 2024 11:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ndk=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ife849cfe96800bf45ae72562b6a517c54d4336c4 --- .github/workflows/debug.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index eb240f26..c3162c91 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -76,7 +76,7 @@ jobs: # key: ndk-cache-22.0.7026061 - name: Setup NDK # if: steps.ndk-cache.outputs.cache-hit != 'true' - run: echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;22.0.7026061" + run: echo "y" | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;22.0.7026061" - name: Update SDK Version run: bash .github/scripts/updateVersionCodeForSnapshot.sh # - name: Test with Gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da58b814..01f50867 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,7 @@ jobs: # key: ndk-cache-22.0.7026061 - name: Setup NDK # if: steps.ndk-cache.outputs.cache-hit != 'true' - run: echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;22.0.7026061" + run: echo "y" | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;22.0.7026061" # - name: Test with Gradle # run: ./gradlew test - name: Remove snapshot dependency