Reputation: 153
After updating my apps build gradle and dependencies (I did not update Android Studio itself), Android Studio is giving me this error: Error: Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.
Before the update everything compiled fine.
I am using:
com.android.tools:desugar_jdk_libs:1.2.0
(This was the newest version I could find)7.2.0
7.5
Chipmunk (2021.2.1)
Did I configuration something wrong? How can I fix this? Thanks in advance!
Upvotes: 7
Views: 5141
Reputation: 373
According to this page, the minimum version of Android Gradle plugin required is 7.3.0-beta03
to be able to upgrade the desugar library to 1.2.0
, and 7.3.x
is not yet available for Android Studio Chipmunk.
Upvotes: 7