Reputation: 1703
I was hoping if someone could point me in the right direction for implementing the library Lobster Picker in my android studio project.
I have been looking at different sites on how to implement, but all ask for link to a .jar file (github only has access to src). I'm a little confused as to where I addcompile 'com.larswerkman:lobsterpicker:1.0.1'
. I tried in a couple different gradle files, but it just broke the build.
Could someone help me?
Upvotes: 0
Views: 101
Reputation: 8446
Look for the build.gradle(Module:app)
, add the reference inside dependencies, like so:
dependencies {
compile 'com.larswerkman:lobsterpicker:1.0.1'
}
Make sure your internet connection is working fine, otherwise will receive the error, Project app: apk dependencies can only be jars.
Upvotes: 1