I wanted to add the github library to gradle in Android Studio, but it gave the following error:
Failed to resolve: com.github.warkiz.widget:indicatorseekbar:2.1.2
I needed to add the following repositories, I added them but it still gave the same error.
allprojects {
repositories { ...
maven { url 'https://jitpack.io' }
}
}
My Gradle(The libraries I marked with a yellow pen are the ones that give the same error.):
2
Answers
In your app level build gradle add corresponding library
Try adding another
Maven
repository alongside your current one, like this:I hope this helps!