[英]Android Studio update corrupted gradle
So I downloaded a .zip from the latest 2.0 version (here: http://tools.android.com/download/studio/builds/2-0 ) because Android Studio didn't allow me to download a patch and automatically update itself. 所以我从最新的2.0版本(这里: http : //tools.android.com/download/studio/builds/2-0 )下载了一个.zip,因为Android Studio不允许我下载补丁并自动更新。 And then pasted the .zip folder tree into my installation directory.
然后将.zip文件夹树粘贴到我的安装目录中。
Now I have this gradle error: 现在我有这个gradle错误:
Error:org.gradle.tooling.BuildActionExecuter.withCancellationToken(Lorg/gradle/tooling/CancellationToken;)Lorg/gradle/tooling/BuildActionExecuter;
Please tell me there's a way to fix this without reinstalling. 请告诉我有一种解决方法,无需重新安装。
Please be careful and close Android Studio ==> 请小心并关闭Android Studio ==>
go to : 去 :
android-studio/plugins/gradle/lib
move all jar files starting with gradle*
to other folder in your desktop per example ==> remove them from lib folder 将所有以
gradle*
开头的jar文件移动到桌面上的其他文件夹中==>从lib文件夹中删除它们
Start Android Studio again and rebuild/refresh. 再次启动Android Studio并重建/刷新。
update: 更新:
from @alex-newman (first comment): 来自@ alex-newman(第一条评论):
There were 2 versions of gradle* inside: android-studio/gradle/gradle-2.10. 里面有2个版本的gradle *:android-studio / gradle / gradle-2.10。 I deleted the 2.8 leftovers and it got fixed.
我删除了2.8剩余的东西,它得到修复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.