我用gradle 4.4安装了android studio 3.1.4,但是我无法同步它,我阅读了有关同步的所有主题,但我从所有依赖项中得到错误,我添加了maven链接,mavencentral,用编译更改实现但没有任何工作

这些是错误:

无法解析':app @ debugAndroidTest / compileClasspath'的依赖关系:无法解析com.android.support.test:runner:1.0.1 . 无法解析':app @ debugAndroidTest / compileClasspath'的依赖关系:无法解析com.android.support.test.espresso:espresso-core:3.0.1 . 无法解析':app @ releaseUnitTest / compileClasspath'的依赖关系:无法解析com.android.support:appcompat-v7:28.0.0-rc01 . 无法解析':app @ releaseUnitTest / compileClasspath'的依赖关系:无法解析com.android.support.constraint:constraint-layout:1.1.2 .

这是我的gradle.build:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "comcooking.wikiyar.myapplication"
        minSdkVersion 17
        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'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}