Skip to content

Commit 1fb575a

Browse files
authored
Merge pull request #163 from OpenBrickProtocolFoundation/update-ndk-version
Update ndk version
2 parents b2271fa + 09478fe commit 1fb575a

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Setup NDK
4848
run: |
49-
sdkmanager --install "ndk;27.0.11718014"
49+
sdkmanager --install "ndk;27.0.11902837"
5050
5151
5252
- name: Build native libraries

platforms/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ android {
248248
}
249249

250250
compileSdkVersion 34
251-
ndkVersion "27.0.11718014-rc1"
251+
ndkVersion "27.0.11902837-rc1"
252252
defaultConfig {
253253
if (buildAsApplication) {
254254
applicationId "com.github.oopetris"

platforms/android/app/jni/Application.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ APP_STL := c++_shared
66
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64
77

88
# used SDK number
9-
APP_PLATFORM=android-34
9+
APP_PLATFORM := android-34
10+
11+
# support 16KB page sizes:
12+
# see: https://developer.android.com/guide/practices/page-sizes
13+
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true

platforms/build-android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44

55
mkdir -p toolchains
66

7-
export NDK_VER_DOWNLOAD="r27-beta1"
8-
export NDK_VER_DESC="r27-beta1"
7+
export NDK_VER_DOWNLOAD="r27-beta2"
8+
export NDK_VER_DESC="r27-beta2"
99

1010
export BASE_PATH="$PWD/toolchains/android-ndk-$NDK_VER_DESC"
1111
export ANDROID_NDK_HOME="$BASE_PATH"

0 commit comments

Comments
 (0)