If you see the following error when opening a gradle project in IntelliJ, especially 2020.2:
Starting Gradle Daemon...
Gradle Daemon started in 851 ms
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\user\AppData\Local\Temp\sync.studio.tooling2.gradle'