java.lang.NoSuchMethodError

No virtual method addDrawerListener(Landroid/support/v4/widget/DrawerLayout$DrawerListener;)V in class Landroid/support/v4/widget/DrawerLayout; or its super classes (declaration of 'android.support.v4.widget.DrawerLayout' appears in /data/data/demo.sbi.com.android_irctc/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_b118207f54cef84c624be0e78fdf67db32a9749a-classes.dex)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7921

  • No virtual method addDrawerListener(Landroid/support/v4/widget/DrawerLayout$DrawerListener;)V in class Landroid/support/v4/widget/DrawerLayout; or its super classes (declaration of 'android.support.v4.widget.DrawerLayout' appears in /data/data/demo.sbi.com.android_irctc/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_b118207f54cef84c624be0e78fdf67db32a9749a-classes.dex)
  • via GitHub by andy91310
    , 8 months ago
    No virtual method addOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V in class Landroid/support/v4/view/ViewPager; or its super classes (declaration of 'android.support.v4.view.ViewPager' appears in /data/data/com.weijie.ckapp/files/instant-run/dex/slice-support-v4-r7_6b487e8b8eac5541972e73dc0c160b63dd97c123-classes.dex)
  • via GitHub by mcxtzhang
    , 8 months ago
    No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.mcxtzhang.cstnorecyclelistview/files/instant-run/dex/slice-com.android.support-support-v4-23.4.0_1e62650e7ea034df7b42508881c720631f172dd6-classes.dex)
  • Stack trace

    • java.lang.NoSuchMethodError: No virtual method addDrawerListener(Landroid/support/v4/widget/DrawerLayout$DrawerListener;)V in class Landroid/support/v4/widget/DrawerLayout; or its super classes (declaration of 'android.support.v4.widget.DrawerLayout' appears in /data/data/demo.sbi.com.android_irctc/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_b118207f54cef84c624be0e78fdf67db32a9749a-classes.dex) at com.sbi.sbiirctc.activity.TicketFareActivity.onCreate(TicketFareActivity.java:126) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.