From 5c719d2bc9ed021d59a892cb461f092370d743d9 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Tue, 23 Jan 2024 14:23:56 -0800 Subject: [PATCH] android build: Upgrade Android Gradle Plugin to 7.2.2 Release notes here: https://developer.android.com/build/releases/past-releases/agp-7-2-0-release-notes Done because the upcoming `yarn upgrade` would otherwise cause a build failure with a message that looks similar to one that reportedly was resolved by upgrading to AGP 7.2.0: https://stackoverflow.com/a/74808149 and it turns out that our error is also resolved by upgrading. In our case we upgraded to the latest 7.2.x, which right now is 7.2.2. Our error message had this: gradle Error: Can't determine type for tag '?attr/shapeAppearanceCornerSmall' --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index b75f29f6139..aaa38a2fc0c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,7 +27,7 @@ buildscript { } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.android.tools.build:gradle:7.0.4' + classpath 'com.android.tools.build:gradle:7.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files