Could not create an instance of type sync_studio_tooling10_1v5lt2z0mnea0h35vdc1btyhn. > Could not initialize class org.codehaus.groovy.runtime.InvokerHelper code example

Example: 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

Tags:

Misc Example