From ee986f8e108dd88092698c25d1efdd5077eda77a Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:05:22 +0100 Subject: [PATCH] fix(android): fix `ndkVersion` is unset when building from source --- packages/react-native/ReactAndroid/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactAndroid/build.gradle.kts b/packages/react-native/ReactAndroid/build.gradle.kts index 7e0640a0e50a66..17d75f688275e6 100644 --- a/packages/react-native/ReactAndroid/build.gradle.kts +++ b/packages/react-native/ReactAndroid/build.gradle.kts @@ -470,6 +470,8 @@ android { } if (rootProject.hasProperty("ndkVersion") && rootProject.properties["ndkVersion"] != null) { ndkVersion = rootProject.properties["ndkVersion"].toString() + } else { + ndkVersion = libs.versions.ndkVersion.get() } compileOptions {