gradleintellij-ideaintellij-idea-2018

Intellij 2018.2: Not able to SYNC Gradle 1.9 projects


Unable to load class 'org.gradle.api.artifacts.component.ModuleComponentIdentifier'. Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.


Solution

  • 1.9 is a very old Gradle version. It is not supported by the latest IDE versions for Gradle projects importing. Please use more recent Gradle versions.