I want to add external library https://github.com/foursquare/foursquare-android-oauth to my Android application (I use Android Studio, the instructions provided by lib autho
Android studio doesn't use Maven
, it use Gradle
, you can open your build.gradle
the route should be: /app/build.gradle
and add the Gradle dependency that shows on the repo:
The build.gradle
has a dependencies
section:
dependencies {
//here add your dependency
}
The repo says that you need to add this dependency:
compile 'com.foursquare:foursquare-android-oauth:1.0.3'
only add that line to your dependencies
on buil.gradle
, save the file, and android will rebuild the project, that's all