“Gradle sync failed. Unknown cause” with a successful build
The symptom After upgrading the Gradle wrapper from 9.6.1 to 9.7 or newer (9.8.2 in my case), every Gradle sync in IntelliJ IDEA 2026.2.3 on macOS ended in a red “failed” state: It happened on a Kotlin Multiplatform/Android project and on a plain one-module Java WAR project. Going back to Gradle 9.6.1 made the sync […]