diff --git a/build.gradle.kts b/build.gradle.kts index 982f7bc422e900..e545389b806729 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,7 +30,7 @@ version = group = "com.facebook.react" val ndkPath by extra(System.getenv("ANDROID_NDK")) -val ndkVersion by extra(System.getenv("ANDROID_NDK_VERSION") ?: "25.1.8937393") +val ndkVersion by extra(System.getenv("ANDROID_NDK_VERSION") ?: "26.0.10792818") val sonatypeUsername = findProperty("SONATYPE_USERNAME")?.toString() val sonatypePassword = findProperty("SONATYPE_PASSWORD")?.toString() @@ -106,11 +106,11 @@ if (project.findProperty("react.internal.useHermesNightly")?.toString()?.toBoole """ ******************************************************************************** INFO: You're using Hermes from nightly as you set - + react.internal.useHermesNightly=true - + in the ./gradle.properties file. - + That's fine for local development, but you should not commit this change. ******************************************************************************** """ diff --git a/packages/react-native/ReactAndroid/src/main/jni/third-party/libevent/CMakeLists.txt b/packages/react-native/ReactAndroid/src/main/jni/third-party/libevent/CMakeLists.txt index 964111f13cfaf1..4a25147dca21ff 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/third-party/libevent/CMakeLists.txt +++ b/packages/react-native/ReactAndroid/src/main/jni/third-party/libevent/CMakeLists.txt @@ -11,6 +11,7 @@ add_compile_options( -O2 -Wno-unused-function -Wno-unneeded-internal-declaration + -Wno-array-parameter # Fixed in 2.2.1 (not yet released) -std=c11) add_library(event diff --git a/packages/react-native/gradle/libs.versions.toml b/packages/react-native/gradle/libs.versions.toml index e5a8934008ff49..0aee78ce3d93a7 100644 --- a/packages/react-native/gradle/libs.versions.toml +++ b/packages/react-native/gradle/libs.versions.toml @@ -5,7 +5,7 @@ targetSdk = "34" compileSdk = "34" buildTools = "34.0.0" # Dependencies versions -agp = "8.1.1" +agp = "8.2.0-beta06" androidx-annotation = "1.6.0" androidx-appcompat = "1.6.1" androidx-autofill = "1.1.0" diff --git a/packages/react-native/template/android/build.gradle b/packages/react-native/template/android/build.gradle index fec62eed5d116b..8012362ce17b77 100644 --- a/packages/react-native/template/android/build.gradle +++ b/packages/react-native/template/android/build.gradle @@ -6,7 +6,7 @@ buildscript { minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 - ndkVersion = "25.1.8937393" + ndkVersion = "26.0.10792818" kotlinVersion = "1.8.0" } repositories {