老师 ,我这报个错,您给看看,我从eclipse中导入项目到androidstudio时 报错了?
Error:Unable to load class 'org.codehaus.groovy.runtime.typehandling.ShortTypeHandling'.
Possible causes for this unexpected error include:<ul><li>Gradle's depende
ncy cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
这个 我从网上 看了 需要修改2个文件 。。1:项目根目录的build.gradle .中的classpath 'com.android.tools.build:gradle:1.2.2'
2:
找到gradle-wrapper.properties文件,其中distributionUrl改成:
distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip
我试了以后 ,还是 报同样的错 ,求老师解答 ??????