Android Studio Gradle Error BuildActionExecuter.withCancellationToken

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

And pasted it into my Android Studio folder. After that, when I tried to start the project, I encountered this error

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

so far I can’t debug or run any project on my Android studio

+6
source share
2 answers

Choose another gradle path in:

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

If you are using ver 2, select the path to the installed android studio and select the gradle folder.

enter image description here

+2
source

1.Close Android Studio

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

3.Remove all gradle - * - 2.5 files

  1. Launch Android Studio again and rebuild / upgrade.

It worked for me

+6
source

All Articles