java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;Landroid/app/Notification;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/widget/RemoteViews;ILandroid/app/PendingIntent;Landroid/app/PendingIntent;Landroid/graphics/Bitmap;IIZZZILjava/lang/CharSequence;ZLjava/lang/String;Ljava/util/ArrayList;Landroid/os/Bundle;IILandroid/app/Notification;Ljava/lang/String;ZLjava/lang/String;)V in class Landroid/support/v4/app/NotificationCompatApi21$Builder; or its super classes (declaration of 'android.support.v4.app.NotificationCompatApi21$Builder' appears in /data/data/com.amit.myapp/files/instant-run/dex/slice-internal_impl-24.2.0_03ea6b597af0b87f5ed6808a426ca9992cd7a314-classes.dex)

Stack Overflow | Amit Shadadi | 2 months ago
  1. 0

    Exception when recieving notification

    Stack Overflow | 2 months ago | Amit Shadadi
    java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;Landroid/app/Notification;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/widget/RemoteViews;ILandroid/app/PendingIntent;Landroid/app/PendingIntent;Landroid/graphics/Bitmap;IIZZZILjava/lang/CharSequence;ZLjava/lang/String;Ljava/util/ArrayList;Landroid/os/Bundle;IILandroid/app/Notification;Ljava/lang/String;ZLjava/lang/String;)V in class Landroid/support/v4/app/NotificationCompatApi21$Builder; or its super classes (declaration of 'android.support.v4.app.NotificationCompatApi21$Builder' appears in /data/data/com.amit.myapp/files/instant-run/dex/slice-internal_impl-24.2.0_03ea6b597af0b87f5ed6808a426ca9992cd7a314-classes.dex)
  2. 0

    NoSuchMethodError on Notifications

    GitHub | 4 years ago | AndyScherzinger
    java.lang.NoSuchMethodError: android.app.Notification$Builder.setProgress
  3. 0

    Android GCM - crashing when creating the notification on the client

    Stack Overflow | 4 years ago | Genadinik
    java.lang.NoSuchMethodError: android.app.Notification$Builder.setProgress at android.support.v4.app.NotificationCompatIceCreamSandwich.a dd(NotificationCompatIceCreamSandwich.java:31)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unit testing: NoSuchMethodError while calling Notification.setLatestEventInfo()

    Stack Overflow | 1 year ago | rekire
    java.lang.NoSuchMethodError: android.app.Notification.setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V
  6. 0

    GitHub comment 78#230212079

    GitHub | 5 months ago | Dave1991
    java.lang.NoSuchMethodError: No static method checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/data/com.zhongke.neighbour/files/instant-run/dex/slice-support4_f6dde806a6fd6917fb8d09558b368a26cec6174e-classes.dex)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No direct method <init>(Landroid/content/Context;Landroid/app/Notification;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/widget/RemoteViews;ILandroid/app/PendingIntent;Landroid/app/PendingIntent;Landroid/graphics/Bitmap;IIZZZILjava/lang/CharSequence;ZLjava/lang/String;Ljava/util/ArrayList;Landroid/os/Bundle;IILandroid/app/Notification;Ljava/lang/String;ZLjava/lang/String;)V in class Landroid/support/v4/app/NotificationCompatApi21$Builder; or its super classes (declaration of 'android.support.v4.app.NotificationCompatApi21$Builder' appears in /data/data/com.amit.myapp/files/instant-run/dex/slice-internal_impl-24.2.0_03ea6b597af0b87f5ed6808a426ca9992cd7a314-classes.dex)

      at android.support.v4.app.NotificationCompat$NotificationCompatImplApi21.build()
    2. Android Support v4
      NotificationCompat$Builder.build
      1. android.support.v4.app.NotificationCompat$NotificationCompatImplApi21.build(NotificationCompat.java:761)
      2. android.support.v4.app.NotificationCompat$Builder.build(NotificationCompat.java:1561)
      2 frames
    3. com.google.firebase
      zzb$2.run
      1. com.google.firebase.messaging.zza.zzaf(Unknown Source)
      2. com.google.firebase.messaging.zza.zzas(Unknown Source)
      3. com.google.firebase.messaging.FirebaseMessagingService.zzo(Unknown Source)
      4. com.google.firebase.messaging.FirebaseMessagingService.zzn(Unknown Source)
      5. com.google.firebase.messaging.FirebaseMessagingService.zzm(Unknown Source)
      6. com.google.firebase.iid.zzb$2.run(Unknown Source)
      6 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames