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
Just Update two things:-
1) Update your Build.gradle
to
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
2) Update Gradle-wrapper.properties: (Change Android mode > Project mode then Extend Gradle and open Gradle-wrapper.properties
)
Replace distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
By
distributionUrl=http://services.gradle.org/distributions/gradle-3.3-all.zip
This always resolves the issue. may it usefull for you