老師 ,我這報個錯,您給看看,我從eclipse中導(dǎo)入項目到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.
這個 ?我從網(wǎng)上 看了 需要修改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
我試了以后 ,還是 報同樣的錯 ,求老師解答 ??????
2017-02-17
https吧
2015-06-05
http://blog.csdn.net/yuliyige/article/details/45935517
這個網(wǎng)址 ?,我試了,但是還是報錯。