gradleintellij-idea

IntelliJ 2024.3 - error - Could not get unknown property 'GradleVersion'


I installed the latest version of intelliJ on the 18th, and ever since I can no longer Sync Gradle Changes. Whenever I attempt to the error below is thrown:

org.gradle.api.GradleScriptException: A problem occurred evaluating initialization script.
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'GradleVersion'....
at sync_studio_tooling3435_cllv1147ss38zx0z25gq448oz.run(C:\Users\xxxx\AppData\Local\Temp\sync.studio.tooling3435.gradle:6)

Any idea why this would be happening? I've no GradleVersion in my build.gradle or any references to sync_studio_tooling....


Solution

  • There's a recent issue with the Android plugin that most likely causes this: https://youtrack.jetbrains.com/issue/IDEA-363320

    Workarounds are: