I\'ve tried following links but none of them helped to solve the issue.
HttpPost returning error when using MultipartEntityBuilder in Android
Try with theese versions, is working for me
compile 'org.apache.httpcomponents:httpcore:4.3.3'
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
Also you can read more here.
Finally I've solved it.
It's a library issue, it worked with 4.3.1 version.
Here's the link to download library files
multipartBuilder.addPart("images[]", fileBody); fileBody convert into byteArray then you pass because data travel in byte array
Try to upload the image in php server but it could post. in android