Forum Discussion

prohira's avatar
prohira
New member | Level 2
5 years ago

Dropbox JAVA SDK - Maven dependency issue

Hi there,

I am trying to integrate Dropbox with AEM using JAVA SDK https://www.dropbox.com/developers/documentation/java

I have also added a maven dependency as mentioned at: https://github.com/dropbox/dropbox-sdk-java

but looks like AEM OSGi framework is not unable to get transitive dependencies such as:

 

android.app -- Cannot be resolved
android.content -- Cannot be resolved
android.content.pm -- Cannot be resolved
android.database -- Cannot be resolved
android.net -- Cannot be resolved
android.os -- Cannot be resolved
android.util -- Cannot be resolved

com.google.appengine.api.urlfetch -- Cannot be resolved
com.squareup.okhttp -- Cannot be resolved

okhttp3 -- Cannot be resolved
okio -- Cannot be resolved

 

Thanks in advance!!

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

    The Dropbox Java SDK does define a number of dependencies, but it sounds like the issue here is more about your platform's system for finding and installing dependencies, rather than using the Dropbox SDK itself. That being the case, I'm afraid I can't offer help for this, as AEM OSGi isn't made by Dropbox. You may be better served by referring to the documentation for your platform, or a support channel/forum for it. Apologies I can't be of more use!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 6 days 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!