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

后端 未结 7 456
梦谈多话
梦谈多话 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:58

    I got it working after upgrading build tools to version 25.0.0 in build.gradle:

    buildToolsVersion '25.0.0'
    

    And change project to use newest gradle version 3.3 with default gradle wrapper (File -> Settings -> Gradle)

提交回复
热议问题