Невозможно разрешить зависимость для ': app @ debug / compileClasspath': не удалось разрешить com.github.rubensousa :ottomsheetbuilder: 1.6.1 - PullRequest
0 голосов
/ 16 сентября 2018

Я пытаюсь установить следующую зависимость: https://github.com/rubensousa/BottomSheetBuilder

Но мне выдаются следующие ошибки:

enter image description here

Я не могу понять, из-за чего могут быть получены ошибки.

Это файл build.gradle, который я использую.

buildscript {
    repositories {
        jcenter()
        maven { url "https://maven.google.com" }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
    }
}

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.exoplayer"
        minSdkVersion 21
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
    maven { url "https://maven.google.com" }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.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.rubensousa:previewseekbar:2.0.0'
    implementation 'com.github.rubensousa:previewseekbar-exoplayer:2.8.1.0'
    implementation 'com.google.android.exoplayer:exoplayer:2.8.1'
    implementation 'com.github.bumptech.glide:glide:4.7.1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
    implementation 'com.github.rubensousa:bottomsheetbuilder:1.6.1'
    implementation 'com.android.support:design:27.1.1'
}

Где я?неправильно?

1 Ответ

0 голосов
/ 16 сентября 2018

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

...