Reputation: 8078
I am trying add following dependency
compile 'com.github.HugoMatilla:AudioPlayerView:v1.0.1'
but getting following error
Error:(28, 13) Failed to resolve: com.github.HugoMatilla:AudioPlayerView:v1.0.1 Show in File
Show in Project Structure dialog
https://github.com/HugoMatilla/AudioPlayerView
Can any one Help me how to fix that
Upvotes: 1
Views: 435
Reputation: 1148
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
EDIT:
Above code goes in build.gradle (Project: whatevername)
compile:'whatever'
Above code goes in build.gradle (Module:app)
Upvotes: 2