Which httpmime version can I use with Android's HttpClient?

后端 未结 2 934
慢半拍i
慢半拍i 2021-01-20 10:51

I need to upload files using Android\'s HttpClient. Unfortunately, Android doesn\'t include MultipartEntity, so I must using Apache\'s httpmime library.

I don\'t wan

2条回答
  •  无人及你
    2021-01-20 11:12

    dependencies {
        compile group: 'org.apache.httpcomponents', name: 'httpclient-android', version: '4.3.5'
        compile 'org.apache.httpcomponents:httpmime:4.3.5'
    }
    

提交回复
热议问题