[英]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.
更新我的应用程序构建 gradle 和依赖项后(我没有更新 Android Studio 本身),Android Studio 给我这个错误:
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) com.android.tools:desugar_jdk_libs:1.2.0
(这是我能找到的最新版本)7.2.0
7.2.0
7.5
7.5
版Chipmunk (2021.2.1)
Chipmunk (2021.2.1)
Did I configuration something wrong?我是不是配置有问题? How can I fix this?
我怎样才能解决这个问题? Thanks in advance!
提前致谢!
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.根据此页面,ZE84E30B9390CDB64DB6DB6DB2C9AB87846DZ Z7B5CC4FB5C4FB56E11DC7520F716EC176EC1763ABBZ插件的最低版本最低版本是
7.3.0-beta03
,即可在desugar and desugar for ZE.2.2.0 nof 1.2.0
,以及7.3.x
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.