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

Dropbox API download errors

New member | Level 2
New member | Level 2

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
Highlighted

Re: Dropbox API download errors

Dropboxer
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.

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?