Answers for "org.codehaus.groovy.runtime.InvokerHelper"

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
-1

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

Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file:
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"
Posted by: Guest on November-11-2020

Code answers related to "org.codehaus.groovy.runtime.InvokerHelper"

Browse Popular Code Answers by Language