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

Error: Error: Could not determine the class – path for interface com. Android. Builder. Model. The AndroidProject.
Reason: The gradle version was low when Eclipse exported the project, so the gradle configuration should be changed
Solution: Duplicate the normal project 2 configuration
1. Modify Build. gradle (gradle version number and Android {… })

buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
    }
}

android {
    compileSdkVersion 26
    buildToolsVersion '26.0.3'
    ......
}

2, the gradle – wrapper. Properties

#Tue Dec 26 10:09:46 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip


Read More: