A
A
arlanchik52018-04-23 22:30:39
Android
arlanchik5, 2018-04-23 22:30:39

Can't load library in android studio?

Hello, how can I download this library?

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:[email protected]' 
    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 ':[email protected]/compileClasspath': Could not resolve com.github.devlight:infinitecycleviewpager:1.0.2.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Codebaker, 2018-04-24
@Codebaker

Your config is fine, the library code is downloaded and compiled.
Perhaps the RKN came to you.
Try downloading aar directly from the project 's releases page .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question