cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Android App Dropbox API Example- Build Error

Explorer | Level 4

When attempting to build the android app example of the dropbox java sdk, I keep getting this error:

 

Failed to resolve: com.dropbox.core:dropbox-core-sdk:0-SNAPSHOT

 

I added my API code and everything, but the app is still not building. 

 

1 Reply 1
Highlighted

Re: Android App Dropbox API Example- Build Error

Dropboxer
Dropboxer

Did you successfully build and install the SDK from the source (per the instructions here and here)?

 

If you had trouble doing so, or if you just want to use a pre-built copy, you can instead replace this line in the build.gradle:

 

compile group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '0-SNAPSHOT', changing: true

 

with:

 

compile 'com.dropbox.core:dropbox-core-sdk:2.1.2'

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?