cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more 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: 

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

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?