cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

Dropbox API download errors

Dropbox API download errors

gita101
Explorer | Level 3

trying to get the Dropbox API for android studio. i want to download the github repo and run the examples. i ran the following code like the README said:

$git clone https://github.com/dropbox/dropbox-sdk-java.git

$cd dropbox-sdk-java

$ ./update-submodules

When I then try to run 

$ ./gradlew build

I get a fail with this erro: 

* Where: Script '/Users/G/Desktop/dropbox-sdk-java/stone.gradle' line: 78

* What went wrong: Execution failed for task ':generateStone'.

> Process 'command 'python'' finished with non-zero exit value 1

And I don't know how to fix this. 

1 Reply 1

Re: Dropbox API download errors

Greg-DB
Dropboxer

Do you need to build from source for some reason, or would the pre-built package be fine? If you don't need to build from source, it would be easier to just use the pre-built package than to debug why the build is failing for you.

 

For instance, you can replace this 'compile' line in examples/build.gradle with the 'implementation' line from the setup instructions. That would tell gradle to just download the currently latest version of the Dropbox Java SDK to use.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?