Browse Source

Move Android NDK from RC to LTS

pull/7560/head
Anders Jenbo 1 year ago
parent
commit
f4b6b549a0
  1. 9
      .github/workflows/Android.yml
  2. 2
      android-project/app/build.gradle

9
.github/workflows/Android.yml

@ -36,19 +36,16 @@ jobs:
distribution: 'adopt' distribution: 'adopt'
cache: gradle cache: gradle
- name: Accept SDK licenses
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
- name: Install CMake - name: Install CMake
run: | run: |
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0" $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
- name: Cache CMake build folder - name: Cache CMake build folder
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: android-project/app/.cxx path: android-project/app/.cxx
key: ${{ github.workflow }}-v5-${{ github.sha }} key: ${{ github.workflow }}-v4-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v5- restore-keys: ${{ github.workflow }}-v4-
- name: Build - name: Build
working-directory: ${{github.workspace}} working-directory: ${{github.workspace}}

2
android-project/app/build.gradle

@ -7,7 +7,7 @@ if (buildAsApplication) {
} }
android { android {
ndkVersion '28.0.12433566' ndkVersion '27.2.12479018'
compileSdk 35 compileSdk 35
defaultConfig { defaultConfig {
if (buildAsApplication) { if (buildAsApplication) {

Loading…
Cancel
Save