Skip to content

Commit 5f75e9b

Browse files
cortinicofacebook-github-bot
authored andcommitted
Bump NDK to 26.1 (react#42656)
Summary: Pull Request resolved: react#42656 I'm bumping the NDK to 26.1. As we already have a bump lined up to 26.0 on main, it makes sense to go to .1 as it's declared the LTS: https://github.com/android/ndk/wiki Changelog: [Android] [Changed] - Android NDK to 26.1 Reviewed By: NickGerleman Differential Revision: D53083606 fbshipit-source-id: 12290efcfa8a72ab88c21ffe9507d08d5512d61b
1 parent ffaeaba commit 5f75e9b

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ version =
4545
group = "com.facebook.react"
4646

4747
val ndkPath by extra(System.getenv("ANDROID_NDK"))
48-
val ndkVersion by extra(System.getenv("ANDROID_NDK_VERSION") ?: "26.0.10792818")
48+
val ndkVersion by extra(System.getenv("ANDROID_NDK_VERSION") ?: libs.versions.ndkVersion.get())
4949
val sonatypeUsername = findProperty("SONATYPE_USERNAME")?.toString()
5050
val sonatypePassword = findProperty("SONATYPE_PASSWORD")?.toString()
5151

packages/react-native/gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ minSdk = "23"
44
targetSdk = "34"
55
compileSdk = "34"
66
buildTools = "34.0.0"
7+
ndkVersion = "26.1.10909125"
78
# Dependencies versions
89
agp = "8.2.1"
910
androidx-annotation = "1.6.0"

packages/react-native/template/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
minSdkVersion = 23
55
compileSdkVersion = 34
66
targetSdkVersion = 34
7-
ndkVersion = "26.0.10792818"
7+
ndkVersion = "26.1.10909125"
88
kotlinVersion = "1.8.0"
99
}
1010
repositories {

0 commit comments

Comments
 (0)