sundrycode
sundrycode

Reputation: 153

Android Studio Chipmunk (2021.2.1) Java 8 library desugaring in D8 and R8 Build Error: "Unsupported desugared library configuration version"

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:

Did I configuration something wrong? How can I fix this? Thanks in advance!

Upvotes: 7

Views: 5141

Answers (1)

Tablet1 User1
Tablet1 User1

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

Related Questions