java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using the MasterCard Java sdk in an Android app
    via Stack Overflow by barry
    ,
    • java.lang.NoSuchMethodError: No static method getDefaultHostnameVerifier()Ljavax
    • et/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)
    No Bugmate found.