醒來這個問題,不知道從哪里開始。即使使用 --stacktrace 或 --scan 運行 gradle,我似乎也無法理解它到底想要我做什么。我怎樣才能解決這個問題?謝謝你。
Unsupported method: Variant.getDesugaredMethods().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

uj5u.com熱心網友回復:
將您的 android gradle 插件更新為7.3.0-alpha09版本,并將 gradle 包裝器更新為distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
uj5u.com熱心網友回復:
在 Dolphin 上使用 gradle wrapper 7.3.3 和 com.android.library 版本 7.2 后剛剛遇到這個問題。
投遞到花栗鼠作業。
uj5u.com熱心網友回復:
似乎這是 Dolphin 中的一個錯誤,希望盡快修復 - https://issuetracker.google.com/issues/227524922?pli=1
在那之前,像@Bob Saget 建議的那樣回滾到Chipmunk 可能是最好的選擇
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/473241.html
