Сбой синхронизации Gradle: причина: com.android.builder.errors.EvalIssueReporter - PullRequest
0 голосов
/ 27 ноября 2018

Я недавно установил Android Studio 3.1.3, я скачал Gradle v4.4 и плагин Gradle v3.1.3.Мой build.gradle выглядит следующим образом:

/ Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
    maven {
        url 'http://repo.metova.com/nexus/content/groups/public'
    }
    maven {
        url 'https://nexus.xebialabs.com/nexus/content/groups/public'
    }
    mavenCentral()

    maven {
        url 'https://oss.sonatype.org/content/repositories/snapshots'
    }

    maven {
        url "https://plugins.gradle.org/m2/"
    }
    maven {
        url 'repo1.maven.org/maven2'

    }
    maven {
       url 'central.maven.org/maven2'
    }

    //google()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
    maven {
        url 'http://repo.metova.com/nexus/content/groups/public'
    }
    maven {
        url 'https://nexus.xebialabs.com/nexus/content/groups/public'
    }
    mavenCentral()
    maven { url "https://jitpack.io" }
    //google()
    maven {
       url 'repo1.maven.org/maven2'

    }
     maven {
        url 'central.maven.org/maven2'
    }

}
}
task clean(type: Delete) {
delete rootProject.buildDir

}

Я использую другие репозитории, потому что я не могу получить доступ к jcenter () или google ().Когда я синхронизирую проект Gradle, все зависимости загружаются без проблем, но появляется ошибка:

Unable to load class 'com.android.builder.errors.EvalIssueReporter'.
Possible causes for this unexpected error include:<ul><li>Gradle's
dependency cache may be corrupt (this sometimes occurs after a network 
connection timeout.) 
Re-download dependencies and sync project (requires network)</li><li>The
state of a Gradle build process (daemon) may be corrupt. Stopping all
Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may
be using a third-party plugin which is not compatible with the other
plugins in the project or the version of Gradle requested by the project.
/li></ul>In the case of corrupt Gradle processes, you can also try
closing the IDE and then killing all Java processes.

Я выполнил оба действия, и они не работают для меня.Пожалуйста, помогите мне, я просто кубинский программист с желанием учиться.

...