I'm trying to use this GitHub library https://github.com/kolavar/android-support-v4-preferencefragment with my Android app.
Using the instructions given by https://jitpack.io/#kolavar/android-support-v4-preferencefragment
I add maven { url 'https://jitpack.io' } to my project's Build.Gradle
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
and then add 'implementation 'com.github.kolavar:android-support-v4-preferencefragment:-SNAPSHOT' to the app Build.Gradle file.
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:support-v4:27.1.1'
testImplementation 'junit:junit:4.12'
compile 'com.github.clans:fab:1.6.4'
implementation 'com.github.kolavar:android-support-v4-preferencefragment:-SNAPSHOT'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'com.android.support:design:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
This results in the failed to resolve error message. Any help would be greatly appreciated :)