Learn how to make the most out of the Dropbox Community here 💙.
Forum Discussion
jonpb
5 years agoExplorer | Level 3
How to add dropbox-core-sdk java using gradle
I'm trying to use dropbox in my android app.
I realize this is more of a gradle question then a dropbox question. I looked at the gradle docs:
https://docs.gradle.org/current/userguide/usergu...
- 5 years ago
That '0-SNAPSHOT' version of the dependency would be if you're building the SDK from source. That's only really necessary if you need to modify the SDK for some reason.
Otherwise, I recommend just including the pre-built copy of the library as covered here. That's the first line you have commented out in yours. Do you still get an error if you switch to that one?
Greg-DB
Dropbox Staff
5 years agoThat '0-SNAPSHOT' version of the dependency would be if you're building the SDK from source. That's only really necessary if you need to modify the SDK for some reason.
Otherwise, I recommend just including the pre-built copy of the library as covered here. That's the first line you have commented out in yours. Do you still get an error if you switch to that one?
- jonpb5 years agoExplorer | Level 3
Thanks Greg, that's a big help, I was looking for the jar, and skimmed over that download link.
It turns out it was Android Studio (I guess) I created a new app selecting Empty Activity and it didn't setup gradle correctly. I created a new one with Bssic Activity and now it works. Now I just have remove all the UI stuff the template created :)
Thanks.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,965 PostsLatest Activity: 10 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!