From ba061a5d18176fd455c3aa6350127506dac05211 Mon Sep 17 00:00:00 2001 From: Alan Lee Date: Thu, 24 Oct 2024 10:58:09 -0700 Subject: [PATCH] Bump NDK to 27.1 (#46357) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46357 Bumping NDK to 27.1.12297006 as we need it to build native libraries with 16KB page size support. See: - Changelog r27: https://github.com/android/ndk/wiki/Changelog-r27 - 16KB page sizes: https://developer.android.com/guide/practices/page-sizes Changelog: [Android] [Changed] - Android NDK to 27.1 Reviewed By: cortinico Differential Revision: D62278654 fbshipit-source-id: 9968a45d9f41031571dfa1bb1671d6ad71d0644d --- packages/helloworld/android/build.gradle | 2 +- packages/react-native/gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/helloworld/android/build.gradle b/packages/helloworld/android/build.gradle index b51b5dffbbf05f..45ad5c70a1a2b7 100644 --- a/packages/helloworld/android/build.gradle +++ b/packages/helloworld/android/build.gradle @@ -11,7 +11,7 @@ buildscript { minSdkVersion = 24 compileSdkVersion = 35 targetSdkVersion = 34 - ndkVersion = "26.1.10909125" + ndkVersion = "27.1.12297006" kotlinVersion = "2.0.21" } repositories { diff --git a/packages/react-native/gradle/libs.versions.toml b/packages/react-native/gradle/libs.versions.toml index b341960d7326e3..fe9098e2af2dd8 100644 --- a/packages/react-native/gradle/libs.versions.toml +++ b/packages/react-native/gradle/libs.versions.toml @@ -4,7 +4,7 @@ minSdk = "24" targetSdk = "34" compileSdk = "35" buildTools = "35.0.0" -ndkVersion = "26.1.10909125" +ndkVersion = "27.1.12297006" # Dependencies versions agp = "8.7.1" androidx-annotation = "1.6.0"