You should add the library as a module in Android Studio, by downloading the code from the Github repository you're interested in (and removing the line under dependencies
that you added to build.gradle
)
Then follow the steps in this answer: https://stackoverflow.com/a/16639227/1065810