来自:http://stackoverflow.com/questions/28923716/getting-resolve-error-while-importing-project-in-android-studio-unable-to-load
在把eclipse的android项目导出gradle然后导入Android Studio时经常会报 unable to load class org.codehaus.groovy.runtime.typehandling.shorttypehandling,原因是build.gradle中的
dependencies { classpath 'com.android.tools.build:gradle:1.2.3' }
版本号与gradle-wrapper.properties不匹配所导致,如果gradle是1.2.3,在gradle-wrapper.properties中最后一行换成distributionUrl=https://services.gradle.org/distributions/gradle-2.2.1-all.zip