Skip to content

Commit

Permalink
Merge pull request #184 from OpenBrickProtocolFoundation/udpate_andro…
Browse files Browse the repository at this point in the history
…id_ndk

Update Android NDK
  • Loading branch information
Totto16 authored Oct 2, 2024
2 parents 8fa991a + fa96f7f commit e8a16dc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup NDK
run: |
sdkmanager --install "ndk;27.1.12297006"
sdkmanager --install "ndk;28.0.12433566"
- name: Build native libraries
run: |
Expand Down
6 changes: 3 additions & 3 deletions platforms/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,14 @@ android {
targetCompatibility JavaVersion.VERSION_21
}

compileSdkVersion 34
ndkVersion "27.1.12297006"
compileSdkVersion 35
ndkVersion "28.0.12433566"
defaultConfig {
if (buildAsApplication) {
applicationId "com.github.oopetris"
}
minSdkVersion 21
targetSdkVersion 34
targetSdkVersion 35
versionCode 7
versionName(versionString)
}
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/app/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ APP_STL := c++_shared
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64

# used SDK number
APP_PLATFORM := android-34
APP_PLATFORM := android-35

# support 16KB page sizes:
# see: https://developer.android.com/guide/practices/page-sizes
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.0'
classpath 'com.android.tools.build:gradle:8.6.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions platforms/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Jan 02 02:01:38 CET 2024
#Wed Oct 02 13:43:32 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions platforms/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e

mkdir -p toolchains

export NDK_VER_DOWNLOAD="r27b"
export NDK_VER_DESC="r27b"
export NDK_VER_DOWNLOAD="r28-beta1"
export NDK_VER_DESC="r28-beta1"

export BASE_PATH="$PWD/toolchains/android-ndk-$NDK_VER_DESC"
export ANDROID_NDK_HOME="$BASE_PATH"
Expand Down

0 comments on commit e8a16dc

Please sign in to comment.