Getting NoSuchFieldError INSTANCE org/apache/http/message/BasicHeaderValueParser

Download latest Apache Httpclient Jar file and refract path name. That works for me.


Looks like you use incompatible jar's for httpmime and httpclient-android. Try to use version 4.3.6 of httpmime


Unfortunately stock versions of HttpCore cannot be used in Android. Please use Apache HttpClient Android Port which also includes requisite HttpCore classes

compile('org.apache.httpcomponents:httpmime:4.3.6') {
    exclude module: 'httpclient'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'