Forum Discussion

Itpuh's avatar
Itpuh
Explorer | Level 3
8 years ago

API V2 Java missing source files

Hello. Recently i was trying to install new API V2 to my project, but faced a problem. I downloaded source files from https://github.com/dropbox/dropbox-sdk-java, but when i added sources from dropbox-sdk-java-master\src\main\java Compiler failed to compile due to missing files. For example - in file AccessErrorException.java there are line import 

com.dropbox.core.v2.auth.AccessError;

But there are no such file or even folder auth in v2. There are only folder callbacks

Where can i find full source code for api V2 to build on Java?

Thanks in advance.

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

    The dropbox-sdk-java repository does contain all of the source code for the API v2 Java SDK, but if you want to build from source, you'll need to following the instructions in the Building from source section of the documentation. 

     

    Alternatively, you can load the library from Gradle or Maven, or download the jar files directly, as covered in the Setup section.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,942 PostsLatest Activity: 4 hours ago
351 Following

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!