Gradle build is failing without any error message
Answered
Intellij version 2020.2
Installed Gradle version 6.8.1
When importing a gradle project from source the build is failing without any error message

Please sign in to leave a comment.
Please share the logs: Help | Collect Logs and Diagnostic Data.
You can upload the file at https://uploads.jetbrains.com and provide the ID here.
Serge Baranov I have uploaded the log file and here is the id 2021_02_01_W5ULUp8kHGJrhMXf (file: idea.log)
See https://stackoverflow.com/a/61806948/104891 for the solution.
See also https://youtrack.jetbrains.com/issue/IDEA-239878 .
Thanks. switching from zulu 11 jdk to openjdk 8 solved the issue
Serge Baranov
I have the similar problem,
IntelliJ IDEA 2021.3 (Ultimate Edition)
Gradle 6.8.3
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
I found the log
I don't know what do I suppose to do with this.
The settings seems ok.
I've solved this problem by using another mac arm jdk. https://bell-sw.com/pages/downloads/#/java-11-lts
And, this also helps https://stackoverflow.com/a/68160268 , if someone need it.
Serge Baranov
I have same problem. I can't sync gradle without error.
Upload id: 2024_02_02_7RTCsSCBmGtxjLciKGyLCN (file: idea-logs-20240202-09295012562581647601041664.zip)
Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA.