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.

  • Nexmo Sms Library for Android Error
    via Stack Overflow by Ajay Chauhan
    ,
    • java.lang.NoSuchMethodError: No virtual method setDefaultMaxPerRoute(I)V in class Lorg/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager; or its super classes (declaration of 'org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager' appears in /system/framework/ext.jar) at com.nexmo.common.http.HttpClientUtils.<init>(HttpClientUtils.java:59) at com.nexmo.common.http.HttpClientUtils.getInstance(HttpClientUtils.java:75) at com.nexmo.messaging.sdk.NexmoSmsClient.submitMessage(NexmoSmsClient.java:440) at com.nexmo.messaging.sdk.NexmoSmsClient.submitMessage(NexmoSmsClient.java:275) at com.example.mrnobody.kisanchallenge.ContactDetails$1.onClick(ContactDetails.java:80) at android.view.View.performClick(View.java:4791) at android.view.View$PerformClick.run(View.java:19884) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5268) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
    No Bugmate found.