Failed to resolve: com.github:AndroidDeveloperLB:MaterialPreferenceLibrary
mhordii opened this issue · 7 comments
mhordii commented
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')
}
AndroidDeveloperLB commented
mgordii commented
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!
AndroidDeveloperLB commented
So now it works for you?
jemshit commented
repositories {
mavenCentral()
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.AndroidDeveloperLB:MaterialPreferenceLibrary:1'
}
AndroidDeveloperLB commented
@jemshit That's the same as what I wrote recently on the main page, no?
jemshit commented
yes
AndroidDeveloperLB commented
@jemshit ok. Thank you.