-
clone the repository
git clone git://github.com/500px/500px-android-sdk
-
add it as a dependency in your main module gradle file dependencies
compile project(':500px-android-sdk')
-
include module in settings.gradle
include ':moduleA', ':500px-android-sdk'
Here is an login activity sample.