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'
cache: gradle
- name: Accept SDK licenses
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
- name: Install CMake
run: |
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
@ -45,8 +42,8 @@ jobs:
uses: actions/cache@v3
with:
path: android-project/app/.cxx
key: ${{ github.workflow }}-v6-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v6-
key: ${{ github.workflow }}-v2-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v2-
- name: Build
working-directory: ${{github.workspace}}

2
android-project/app/build.gradle

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

Loading…
Cancel
Save