SyncFailed Error:Cause: org/jetbrains/plugins/gradle/tooling/ModelBuilderService

后端 未结 6 601
太阳男子
太阳男子 2020-12-31 05:56

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/grad

6条回答
  •  既然无缘
    2020-12-31 06:33

    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

提交回复
热议问题