I am not able to import a project in AndroidStudio because of following error:
Unable to load class \'org.codehaus.groovy.runtime.typehandling.ShortTypeHandl
Apparently 'org.codehaus.groovy.runtime.typehandling.ShortTypeHandling' does not work with the new version of Gradle.
Change your project settings so that your project points to an older version of Gradle, like this:
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
}
EDIT:
As noted in a comment, you can also do:
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
Or even reference other versions.