You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Daniel S.35
10 years agoNew member | Level 1
Android M - Android deprecated apache module (HttpClient, etc)
Hi,
Do you have plans to release a new version of the Core API SDK that supports Android M since Apache module was deprecated.
How can I use it since now I can't use my app on a device with Android M?
- Greg-DBDropbox Staff
I can't make any promises, but I'll pass this along as a request.
It looks like you should be able to enable the legacy library though, per the documentation:
https://developer.android.com/preview/behavior-changes.html#behavior-apache-http-client
- Andrew H.15Explorer | Level 4
I'm having this same issue. Unfortunately we cannot use the workaround mentioned at https://developer.android.com/preview/behavior-changes.html#behavior-apache-http-client because we using an older version of the Gradle plugin which does not have the "useLibrary" method, due to a separate issue (http://b.android.com/182254).
This will soon be an issue with every developer using the Dropbox SDK and trying to compile against the Android M SDK. I certainly hope you will make this a priority. - Greg-DBDropbox Staff
Thanks for the information!
- Giacomo P.1New member | Level 1
I have Android Plugin Version 1.3.0 in my Android Studio and it seems I solved issue adding
useLibrary 'org.apache.http.legacy'
in my gradle.build file.
I hope this will help someone.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,918 PostsLatest Activity: 2 days ago
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!