java.lang.NoSuchMethodError: No static method getDefaultHostnameVerifier()Ljavax/net/ssl/HostnameVerifier; in class Lorg/apache/http/conn/ssl/SSLConnectionSocketFactory; or its super classes (declaration of 'org.apache.http.conn.ssl.SSLConnectionSocketFactory' appears in /data/data/com.penrillian.mastercardsdkspike/files/instant-run/dex/slice-httpclient-android-4.3.3_0747e14fe297704af7c1867b65dc0798c1c7dd59-classes.dex)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by barry
, 1 year ago
No static method getDefaultHostnameVerifier()Ljavax/net/ssl/HostnameVerifier; in class Lorg/apache/http/conn/ssl/SSLConnectionSocketFactory; or its super classes (declaration of 'org.apache.http.conn.ssl.SSLConnectionSocketFactory' appears in /data
java.lang.NoSuchMethodError: No static method getDefaultHostnameVerifier()Ljavax/net/ssl/HostnameVerifier; in class Lorg/apache/http/conn/ssl/SSLConnectionSocketFactory; or its super classes (declaration of 'org.apache.http.conn.ssl.SSLConnectionSocketFactory' appears in /data/data/com.penrillian.mastercardsdkspike/files/instant-run/dex/slice-httpclient-android-4.3.3_0747e14fe297704af7c1867b65dc0798c1c7dd59-classes.dex)
at com.mastercard.api.core.ApiController.createHttpClient(ApiController.java:488)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.