Home > Software engineering >  Gradle sync failed: Unsupported method: Variant.getDesugaredMethods(). The version of Gradle you con
Gradle sync failed: Unsupported method: Variant.getDesugaredMethods(). The version of Gradle you con

Time:05-11

Woke up to this issue, not sure where to go from here. Even running gradle with --stacktrace or --scan, I can't seem to understand what exactly it wants me to do. How can I fix this? Thank you.

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.

enter image description here

CodePudding user response:

Just had this issue after using gradle wrapper 7.3.3 & com.android.library version 7.2 on Dolphin.

Dropping to Chipmunk worked.

CodePudding user response:

Update your android gradle plugin to the 7.3.0-alpha09 version and gradle wrapper to distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip

  • Related