One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
gita101
5 years agoExplorer | Level 3
Dropbox API download errors
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.
- Greg-DB
Dropbox Staff
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 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!