@arlanchik5

Не удается загрузить библиотеку в android studio?

Добрый день,как мне загрузить данную библиотеку?
apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.arlhar_membots"
        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'
        }
    }
}

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.0'
    implementation 'com.android.support:design:27.1.0'
    implementation 'com.google.firebase:firebase-auth:11.8.0'
    implementation 'com.google.firebase:firebase-database:11.8.0'
    implementation 'com.google.firebase:firebase-storage:11.8.0'
    implementation 'com.google.android.gms:play-services-auth:11.8.0'

    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'

    //добавленные
    implementation 'com.github.devlight:infinitecycleviewpager:1.0.2'
    implementation 'com.romainpiel.shimmer:library:1.4.0@aar' 
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'com.theartofdev.edmodo:android-image-cropper:2.6+'
    implementation 'com.hbb20:ccp:2.1.9'
    implementation 'com.android.support:cardview-v7:26.1.0'
    implementation 'com.android.support:recyclerview-v7:26.1.0'
    implementation 'com.squareup.picasso:picasso:2.5.2'


}
apply plugin: 'com.google.gms.google-services'

Error:
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.devlight:infinitecycleviewpager:1.0.2.
  • Вопрос задан
  • 336 просмотров
Пригласить эксперта
Ответы на вопрос 1
@Codebaker
Всё умею, всё могу!
Ваш конфиг в порядке, код библиотеки скачивается и компилируется.

5ade6e15074bb481158849.png

Возможно, к вам пришёл РКН.

Попробуйте скачать aar напрямую со страницы релизов проекта.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы