Vision Coderz
Vision Coderz

Reputation: 8078

Failed to resolve Dependency

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

Answers (1)

Stephen
Stephen

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

Related Questions