Не удалось разрешить зависимость для ': app @ debugAndroidTest / compileClasspath': не удалось создать хэш MD5 для содержимого файла - PullRequest
0 голосов
/ 03 декабря 2018
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to create MD5 hash for file content.
<a href="openFile:F:/AS_Pro/Grocehopper/app/build.gradle">Open File</a><br><a href="Unable to resolve dependency for &#39;:app@debugAndroidTest/compileClasspath&#39;: Failed to create MD5 hash for file content.">Show Details</a>    

Когда я нажимаю на открытый файл или показываю детали, ничего не происходит. Ниже приведены все мои зависимости

    apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "dev.app.grocehop"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
    }
    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:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.airbnb.android:lottie:2.2.0'
    implementation 'org.greenrobot:eventbus:3.1.1'
    implementation 'com.google.guava:guava:27.0.1-android'
    implementation 'com.android.support:cardview-v7:26.1.0'
    implementation 'com.squareup.retrofit2:retrofit:2.1.0'
    implementation 'com.google.code.gson:gson:2.6.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
    implementation ('com.github.bumptech.glide:glide:4.8.0'){
        exclude group:'com.android.support'
    }
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2') {
        exclude group: 'com.android.support', module: 'support-annotations'
    }
    androidTestImplementation('com.android.support.test:runner:1.0.2') {
        exclude group: 'com.android.support', module: 'support-annotations'
    }
}

Я не могу решить, какой файл выдает мне эту ошибку.

Я просмотрел несколько страниц, но ни одна из них не дала мне разрешения.Я очень отчаянно хочу завершить этот проект Android, и ошибка, кажется, не исчезает.

Пожалуйста, любая помощь будет оценена.Спасибо.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...