Skip to content

Could not find class 'android.app.NotificationChannel' #780

@damain

Description

@damain

After sorting out isses with okhttp. Now I am seeing the installation showing as valid in the dashboard but I have these errors with the notifications on android studio 3.0.1 . See logcat below

01-30 15:07:05.592 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve virtual method 21588: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
01-30 15:07:05.592 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002
01-30 15:07:05.902 2546-2546/kav.ej W/dalvikvm: Unable to resolve superclass of Lcom/parse/PushServiceApi26; (67)
01-30 15:07:05.902 2546-2546/kav.ej W/dalvikvm: Link of class 'Lcom/parse/PushServiceApi26;' failed
01-30 15:07:05.902 2546-2546/kav.ej I/dalvikvm: Could not find method com.parse.PushServiceApi26.isSupported, referenced from method com.parse.PushServiceUtils.isSupported
01-30 15:07:05.912 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve static method 25771: Lcom/parse/PushServiceApi26;.isSupported ()Z
01-30 15:07:05.912 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x71 at 0x0004
01-30 15:07:05.912 2546-2546/kav.ej W/dalvikvm: Unable to resolve superclass of Lcom/parse/PushServiceApi26; (67)
01-30 15:07:05.912 2546-2546/kav.ej W/dalvikvm: Link of class 'Lcom/parse/PushServiceApi26;' failed
01-30 15:07:05.912 2546-2546/kav.ej I/dalvikvm: Could not find method com.parse.PushServiceApi26.run, referenced from method com.parse.PushServiceUtils.runService
01-30 15:07:05.912 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve static method 25775: Lcom/parse/PushServiceApi26;.run (Landroid/content/Context;Landroid/content/Intent;)Z
01-30 15:07:05.912 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x71 at 0x0004
01-30 15:07:05.922 2546-2546/kav.ej D/dalvikvm: GC_FOR_ALLOC freed 254K, 9% free 3514K/3840K, paused 13ms, total 13ms
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/app/NotificationChannel;)
01-30 15:07:05.932 2546-2546/kav.ej I/dalvikvm: Could not find method android.app.NotificationManager.createNotificationChannel, referenced from method com.parse.ParsePushBroadcastReceiver.createNotificationChannel
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve virtual method 308: Landroid/app/NotificationManager;.createNotificationChannel (Landroid/app/NotificationChannel;)V
01-30 15:07:05.932 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x6e at 0x0009
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/app/NotificationChannel;)
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/app/NotificationChannel;)
01-30 15:07:05.932 2546-2546/kav.ej I/dalvikvm: Could not find method android.app.NotificationChannel.getId, referenced from method com.parse.ParsePushBroadcastReceiver.getNotification
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve virtual method 304: Landroid/app/NotificationChannel;.getId ()Ljava/lang/String;
01-30 15:07:05.932 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x6e at 0x00f9
01-30 15:07:05.932 2546-2546/kav.ej E/dalvikvm: Could not find class 'android.app.NotificationChannel', referenced from method com.parse.ParsePushBroadcastReceiver.getNotificationChannel
01-30 15:07:05.932 2546-2546/kav.ej W/dalvikvm: VFY: unable to resolve new-instance 51 (Landroid/app/NotificationChannel;) in Lcom/parse/ParsePushBroadcastReceiver;
01-30 15:07:05.932 2546-2546/kav.ej D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
01-30 15:07:05.942 2546-2546/kav.ej D/dalvikvm: DexOpt: unable to opt direct call 0x012f at 0x09 in Lcom/parse/ParsePushBroadcastReceiver;.getNotificationChannel
01-30 15:07:06.142 2546-2546/kav.ej I/Choreographer: Skipped 36 frames!  The application may be doing too much work on its main thread.
01-30 15:07:06.542 2546-2615/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
01-30 15:07:06.542 2546-2615/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
01-30 15:07:06.542 2546-2615/kav.ej I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
01-30 15:07:06.542 2546-2615/kav.ej W/dalvikvm: VFY: unable to resolve static method 26515: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
01-30 15:07:06.542 2546-2615/kav.ej D/dalvikvm: VFY: replacing opcode 0x71 at 0x000b
01-30 15:07:06.552 2546-2615/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
01-30 15:07:06.552 2546-2615/kav.ej W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
01-30 15:07:06.552 2546-2615/kav.ej I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
01-30 15:07:06.552 2546-2615/kav.ej W/dalvikvm: VFY: unable to resolve static method 26514: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
01-30 15:07:06.552 2546-2615/kav.ej D/dalvikvm: VFY: replacing opcode 0x71 at 0x000b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions