Browse Source

Move Android NDK from RC to LTS

pull/7489/head
Anders Jenbo 1 year ago
parent
commit
0e2c5ce0bb
  1. 7
      .github/workflows/Android.yml
  2. 2
      android-project/app/build.gradle

7
.github/workflows/Android.yml

@ -34,9 +34,6 @@ 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"
@ -45,8 +42,8 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: android-project/app/.cxx path: android-project/app/.cxx
key: ${{ github.workflow }}-v6-${{ github.sha }} key: ${{ github.workflow }}-v2-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v6- restore-keys: ${{ github.workflow }}-v2-
- 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