From a030224d1b69bf22df9c7bf757baeb10ebe89782 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Fri, 13 Oct 2023 10:54:50 -0700 Subject: [PATCH] Make sure template is consuming the right buildToolsVersion - Take 2 (#40938) Summary: Currently, the template has a `buildToolsVersion = '34.0.0'` specified in the top level .gradle file but it's not currently using it. This is causing the build to fallback to the default version provided by AGP which is 33.x This is also causing the CI to download buildtools 34.0.0 as they're not in the container (causing network flakyness). ## Changelog: [INTERNAL] [FIXED] - Make sure template is consuming the right buildToolsVersion Pull Request resolved: https://github.com/facebook/react-native/pull/40938 Test Plan: CI should be green Reviewed By: cipolleschi Differential Revision: D50270482 Pulled By: cortinico fbshipit-source-id: 09fdc66fe24f1cae760d07e4a2f044793a66cafc --- packages/react-native/template/android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/template/android/app/build.gradle b/packages/react-native/template/android/app/build.gradle index 94222a1e807..86512f88a4a 100644 --- a/packages/react-native/template/android/app/build.gradle +++ b/packages/react-native/template/android/app/build.gradle @@ -71,7 +71,7 @@ def jscFlavor = 'org.webkit:android-jsc:+' android { ndkVersion rootProject.ext.ndkVersion - + buildToolsVersion rootProject.ext.buildToolsVersion compileSdk rootProject.ext.compileSdkVersion namespace "com.helloworld"