Answers for "* What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper gradle 5.5"

19

Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

This is because of the gradle version:

In your project
go to: gradle / wrapper / gradle-wrapper.properties /

change the version:
distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-all.zip

to
distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip

Source
https://stackoverflow.com/questions/35000729/android-studio-could-not-initialize-class-org-codehaus-groovy-runtime-invokerhel
Posted by: Guest on October-16-2020

Code answers related to "* What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper gradle 5.5"

Browse Popular Code Answers by Language