Could not run build action using Gradle installation gradle-4.0.1-all

Answered

I downloaded gradle 4.0.1-all and unzipped.

 

Opening gradle project I chose 'Use local gradle distribution' and specified path to the gradle 4.0.1 folder.

After clicking OK intellij idea does smth and then outputs:

Error:Could not run build action using Gradle installation 'E:\my\path\to\gradle\gradle-4.0.1-all\'.

It's the folder containing the bin folder.

 

It only works if I choose `use default gradle wrapper (recommended)` but it downloads gradle 3.5.1 instead of my gradle 4.0.1 wrapper.

 

Cache invalidation didn't help.

0
3 comments
Avatar
Permanently deleted user

Thanks, will try!

0
Avatar
Permanently deleted user

I also had this problem after updating to 2017.2.

The idea.log referenced the android plugin in the stack trace ( I have a non-android project). 

Disabling the android plugin fixes this for me.

0

Please sign in to leave a comment.