title: Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
body: <p>I am new in Android Studio. After setup, 
  When I am trying to import an application I am getting that error So that gradle not able to build.</p>
  
  <p><strong>Error:Could not initialize class org.codehaus.groovy.runtime.InvokerHelper</strong></p>
  
  <p>I checked that my classpath setting for Java is fine.  I am running Windows OS.  Does anyone know the source of the error?</p>