无法解析com.android.tools.build:gradle:3.2.1。梯度误差

无法解析com.android.tools.build:gradle:3.2.1。梯度误差,android,android-studio,gradle,Android,Android Studio,Gradle,我试图编译我的项目,但我遇到了这个错误,我试图用其他答案解决我的问题,但没有任何帮助: 无法解析com.android.tools.build:gradle:3.5.3。 无法获取资源“”。 无法获取“”。 sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径 ** 我的Gradle应用程序如下所示

我试图编译我的项目,但我遇到了这个错误,我试图用其他答案解决我的问题,但没有任何帮助:

无法解析com.android.tools.build:gradle:3.5.3。 无法获取资源“”。 无法获取“”。 sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径

**

我的Gradle应用程序如下所示: 应用插件:“com.android.application”

android {
    buildToolsVersion "28.0.0"
    // buildToolsVersion "29"
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.a1.makeitapp"
        minSdkVersion 15
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    allprojects {
        repositories {
            google()
            maven { url "https://jitpack.io" }
        }
    }
    dependencies {
        implementation fileTree(include: ['*.jar'], dir: 'libs')
        implementation 'com.google.android.gms:play-services-auth:16.0.0'
        implementation 'com.google.android.gms:play-services-maps:16.0.0'
        implementation 'com.android.support:appcompat-v7:28.0.0'
        implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
        implementation 'com.android.support.constraint:constraint-layout:1.1.3'
        implementation 'com.android.support:design:28.0.0'
        testImplementation 'junit:junit:4.12'
//        androidTestImplementation 'com.android.support.test:runner:1.0.2'
//        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
        implementation 'com.github.parse-community.Parse-SDK-Android:fcm:1.18.5'
        // implementation 'com.android.support:design:REPLACE-WITH-APPCOMPAT-VERSION'

    }
}
我的格拉德尔:

buildscript {

    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url 'https://maven.google.com' }
    }
    dependencies {
        //classpath 'com.android.tools.build:gradle:3.2.0'
        classpath 'com.android.tools.build:gradle:3.5.3'
        //classpath 'com.google.gms:google-services:3.0.0'

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

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url 'https://maven.google.com' }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
有人能帮忙解决这个问题吗??
谢谢

尝试从您的存储库中删除“google()”Gradle@Azhagthott-我试过很多次了。。。没有帮助我遇到了类似的问题,因为我使用的是maven{url'}和google()=/