AndroidDeveloperLB / MaterialPreferenceLibrary

Allows to have an ActionBar on PreferenceActivity
Apache License 2.0
406 stars 69 forks source link

Failed to resolve: com.github:AndroidDeveloperLB:MaterialPreferenceLibrary #6

Closed mhordii closed 9 years ago

mhordii commented 9 years ago

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 9 years ago

Did you remember to add:

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

?

mhordii commented 9 years ago

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 9 years ago

So now it works for you?

jemshit commented 9 years ago
repositories {
    mavenCentral()
    maven {
        url "https://jitpack.io"
    }
}

dependencies {
    compile 'com.github.AndroidDeveloperLB:MaterialPreferenceLibrary:1'
}
AndroidDeveloperLB commented 9 years ago

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

jemshit commented 9 years ago

yes

AndroidDeveloperLB commented 9 years ago

@jemshit ok. Thank you.