Could not determine the class-path for interface com.android.builder.model.AndroidProject

后端 未结 7 436
梦谈多话
梦谈多话 2021-01-30 08:10

When I import an Eclipse project into Android Studio, I got this problem: Gradle \'XNote\' project refresh failed Error:Could not determine the class-path for interfa

7条回答
  •  走了就别回头了
    2021-01-30 08:56

    Just now i am facing the same problem.

    1.Check classpath in build.gradle file. change to

    classpath 'com.android.tools.build:gradle:2.3.0'

    1. then go to gradle-wrapper.properties, and change distributionUrl

    distributionUrl=http://services.gradle.org/distributions/gradle-3.3-all.zip

    and then rebuild the project. its help for me... I think this will definitely helps you.

提交回复
热议问题