Jaime
03/07/2022, 4:09 PMThe minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.compose.ui:ui-tooling:1.1.0-rc01.
AAR metadata file: /Users/mac/.gradle/caches/transforms-3/b8977160c1c83bc23bb78b40a0700549/transformed/jetified-ui-tooling-1.1.0-rc01/META-INF/com/android/build/gradle/aar-metadata.properties.
Stylianos Gakis
03/07/2022, 4:10 PMtargetSdkVersion = 30
instead, not compileSdkVersion
. More context further down in this thread!Jaime
03/07/2022, 4:11 PMJaime
03/07/2022, 4:21 PMJaime
03/07/2022, 4:26 PMStylianos Gakis
03/07/2022, 4:29 PMcompileSdkVersion = "31"
targetSdkVersion = "30"
your app will still target 30 therefore you don’t have to work on that migration right now, and your code will compile fine.Jaime
03/07/2022, 4:29 PMStylianos Gakis
03/07/2022, 4:30 PMStylianos Gakis
03/07/2022, 4:30 PMJaime
03/07/2022, 4:31 PMJaime
03/07/2022, 4:33 PM