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.):
Try adding this Maven
repository alongside your current one:
maven {
url 'https://jitpack.io'
}
// Add this
maven {
url 'https://maven.aliyun.com/repository/jcenter'
}
I hope this helps!