Clone this Gist, copy in dropbox-android-sdk.jar
file from Dropbox SDK. Change version in POMs if you need it, then run mvn clean install
.
<dependency>
<artifactId>android-sdk</artifactId>
<version>1.5</version>
<groupId>com.dropbox</groupId>
</dependency>
Version 1.5 of Dropbox Android SDK includes a list of libraries that seems to be in the Android dependency:
commons-logging
;httpclient
;httpcore
.
Also I have no idea how JUnit could be a dependency of a runtime library (and even then Android uses JUnit 3 for testing, not JUnit 4).
I set these dependencies for the Dropbox Android SDK (both of them have newer versions, but I looked at versions from SDK):
httpmime
;json-simple
.