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.
Please sign in to leave a comment.
Try with https://www.jetbrains.com/idea/nextversion/. If the issue persists, file a bug at https://youtrack.jetbrains.com/issues/IDEA with idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085) attached.
Thanks, will try!
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.