Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Daniel S.35
11 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?
4 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
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.1511 years agoExplorer | 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-DB11 years ago
Dropbox Community Moderator
Thanks for the information!
- Giacomo P.111 years agoNew 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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!