Skip to content

Commit

Permalink
android build: Upgrade Android Gradle Plugin to 7.2.2
Browse files Browse the repository at this point in the history
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
  '<macro name="m3_comp_assist_chip_container_shape">?attr/shapeAppearanceCornerSmall</macro>'
  • Loading branch information
chrisbobbe committed Jan 23, 2024
1 parent 120a4a0 commit 0a3721b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a3721b

Please sign in to comment.