I use a code with apache HttpClient 4.5 thats works fine in a separated java aplication, when I bring to android project I have this error
java.lang.nosuchfielderror org.apache.http.conn.ssl.allowallhostnameverifier
code:
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(builder.build(),new HostnameVerifier(){
@Override
public boolean verify(String arg0, SSLSession arg1) {
return true;
}
});
I import the same libs , i googleit and says a duplicate reference or a jar missed but nothing I download the jar from here https://hc.apache.org/downloads.cgi If the problems is in the jars that are no compatible with android I like to find the correct jars without using gradle maven or something like this because the mayor time im offline and when online only can navigate the web Thanks