cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android M - Android deprecated apache module (HttpClient, etc)

Android M - Android deprecated apache module (HttpClient, etc)

Daniel S.35
New member | Level 1

Hi, 

Do you have plans to release a new version of the Core API SDK that supports Android M since Apache module was deprecated.

http://stackoverflow.com/questions/29294479/android-deprecated-apache-module-httpclient-httpresponse...

How can I use it since now I can't use my app on a device with Android M?

4 Replies 4

Greg-DB
Dropbox 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.15
Explorer | 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-DB
Dropbox Staff

Thanks for the information!

Giacomo P.1
New 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.

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Giacomo P.1 New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Andrew H.15 Explorer | Level 4
What do Dropbox user levels mean?