Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Gradle Error BuildActionExecuter.withCancellationToken

I downloaded the Android Studio Latest Build 2.0 from this link: http://tools.android.com/download/studio/canary

And pasted it in my Android Studio Folder. After that when I was trying to run my project I encountered this error

Error:org.gradle.tooling.BuildActionExecuter.withCancellationToken(Lorg/gradle/tooling/CancellationToken;)Lorg/gradle/toolig/BuildActionExecuter;

untill now I can't debug or run any project on my Android Studio

like image 259
Josh Avatar asked Dec 11 '15 05:12

Josh


2 Answers

1.Close Android Studio

2.go to android-studio/plugins/gradle/lib

3.Delete all gradle-*-2.5 files

  1. Start Android Studio again and rebuild/refresh.

It worked for me

like image 185
SAM PRASANNA Avatar answered Oct 11 '22 03:10

SAM PRASANNA


Choose another path of gradle in:

File --> settings --> Build,Execution --> Build Tools --> Gradle

If you use of ver 2 select path of installed android studio and select gradle Folder.

enter image description here

like image 23
Moral Teacher Avatar answered Oct 11 '22 04:10

Moral Teacher