Android – MultipartEntity and dependencies

I had the same issue – try to use the http-android-client (this also relies on the httmime but requires 4.3). This worked for me:

dependencies {
  compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5.1'
  compile('org.apache.httpcomponents:httpmime:4.3') {
      exclude module: "httpclient"
  }
}

Leave a Comment