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)

Stack Overflow | Aviraj | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoSuchMethodError: No virtual method addDrawerListener with android 22 sdk

    Stack Overflow | 7 months ago | Aviraj
    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)

    Root Cause Analysis

    1. 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()
    2. com.sbi.sbiirctc
      TicketFareActivity.onCreate
      1. com.sbi.sbiirctc.activity.TicketFareActivity.onCreate(TicketFareActivity.java:126)
      1 frame
    3. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6251)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      4 frames