With the update of Android Studio Hedgehog | 2023.1.1 | Patch 2, Kotlin 1.7.0, and Gradle being set yet as 7.4, we have this error with not so much info on how to resolve it.
Has anyone else experienced this exact error or have ideas where to look?
it also gives Caused by: [CIRCULAR REFERENCE: com.android.tools.r8.kotlin.H]
error message at the end of the build output, but we have no circular dependencies within our app modules.
2
Answers
I faced the same error. I solved it by changing the Gradle version in gradle-wrapper.properties and matching it with a compatible plugin version in project level build.gradle file
In project level build.gradle
In gradle-wrapper.properties
Changing minimumSDK from 22 to 26 in project level build.gradle, solved my issue.