From 00fe71c3a07b04963b0a313becc104f984a6c8bf Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Tue, 20 Feb 2024 11:49:06 -0600 Subject: [PATCH] Use NDK 24.0.8215888 This needs to be forced in a few places otherwise the build tries to pull in ndk 23 --- ReactAndroid/build.gradle | 4 +--- template/android/build.gradle | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index b44202593ecda0..0990a1a6780f0f 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -528,9 +528,7 @@ android { if (rootProject.hasProperty("ndkPath")) { ndkPath rootProject.ext.ndkPath } - if (rootProject.hasProperty("ndkVersion")) { - ndkVersion rootProject.ext.ndkVersion - } + ndkVersion = "24.0.8215888" defaultConfig { minSdkVersion(21) diff --git a/template/android/build.gradle b/template/android/build.gradle index 34ea71819406f6..9abfe0d4eef403 100644 --- a/template/android/build.gradle +++ b/template/android/build.gradle @@ -7,8 +7,7 @@ buildscript { compileSdkVersion = 33 targetSdkVersion = 33 - // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. - ndkVersion = "23.1.7779620" + ndkVersion = "24.0.8215888" } repositories { google()