Apache HTTP connection with Android 6.0 (Marshmallow)

前端 未结 2 1796
清歌不尽
清歌不尽 2020-11-27 19:57

Is there is any way to include the Apache library directly in Gradle to make it work with Android 6.0 ?

I\'ve tried to include the libraries like that:



        
2条回答
  •  伪装坚强ぢ
    2020-11-27 20:50

    According to the API 22-23 diff changes, the org.apache.http.* packages have been removed as of Android 6.0 (Marshmallow) API Level 23.

    http://developer.android.com/sdk/api_diff/23/changes.html

    via : http://android-developers.blogspot.co.uk/2015/08/m-developer-preview-3-final-sdk.html

提交回复
热议问题