You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

kestites's avatar
kestites
Explorer | Level 4
9 years ago

Android App Dropbox API Example- Build Error

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. 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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'