AndroidDeveloperLB/MaterialPreferenceLibrary

Failed to resolve: com.github:AndroidDeveloperLB:MaterialPreferenceLibrary

mhordii opened this issue · 7 comments

Hi!
Aftter add library have error:

Failed to resolve: com.github:AndroidDeveloperLB:MaterialPreferenceLibrary

Code:

dependencies {
    compile 'com.android.support:support-v4:22.2.0'
    compile 'com.google.android.gms:play-services:7.5.0'
    compile 'com.android.support:appcompat-v7:22.2.0'
    compile 'com.tonicartos:superslim:0.4.13'
    compile 'com.github.AndroidDeveloperLB:MaterialPreferenceLibrary:1'
    compile files('libs/activation.jar')
    compile files('libs/additionnal.jar')
    compile files('libs/mail.jar')
}

Did you remember to add:

maven {
url "https://jitpack.io"
}

?

add in build.gradle:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.2.3'
    }
}

allprojects {
    repositories {
        jcenter()
        'https://jitpack.io'
    }
}

And it work now. Thanks!

So now it works for you?

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

dependencies {
    compile 'com.github.AndroidDeveloperLB:MaterialPreferenceLibrary:1'
}

@jemshit That's the same as what I wrote recently on the main page, no?

yes

@jemshit ok. Thank you.