Skip to content Skip to sidebar Skip to footer

Syncfailed Error:cause: Org/jetbrains/plugins/gradle/tooling/modelbuilderservice

I have a project which I try to open in Android Studio however when the project is imported I receive an error Error:Cause: org/jetbrains/plugins/gradle/tooling/ModelBuilderServic

Solution 1:

So the problem was solved by deleting the .gradle folder. Unfortunately none of the answers that I referred to described which .gradle folder I was supposed to delete.

What I did was deleted the .gradle folder inside the project structure. What you have to do is delete the .gradle folder located in

Windows:

C:/Users/<username>/.gradle.

MacOS:

~/Users/<username>/.gradle

To view hidden files on Mac press command+shift+.

Solution 2:

Here is a very simple solution,open your gradle-wrapper.properties file in your project and change your distributionUrl by downgrading/upgrading it.

For example, if gradle 5.1 is giving you problems, you can downgrade to 4.9

distributionUrl=https://services.gradle.org/distributions/gradle-4.9-all.zip

enter image description here

Solution 3:

You may try the following steps:

  • Close Android Studio
  • Rename .gradle folder
  • Open project again

After that Android studio will automatically download .gradle folder

Solution 4:

Your Android Studio must be 3.4 or above Latest Version.

And Gradle file should be:

distributionBase=GRADLE_USER_HOME

distributionPath=wrapper/dists

zipStoreBase=GRADLE_USER_HOME

zipStorePath=wrapper/dists

distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip

These error comes when you used below Android Studio 3.4 Version.

Solution 5:

Upgrade the IDE to an updated version and remove it as versions that are not available in Android Studio that are on your computer. eg. AndroidStudio2.1 located in C:\Users\

Post a Comment for "Syncfailed Error:cause: Org/jetbrains/plugins/gradle/tooling/modelbuilderservice"