jpush_flutter调用setTags崩溃

标签: #<Tag:0x00007f65820ca7f8> #<Tag:0x00007f65820ca6b8> #<Tag:0x00007f65820ca528> #<Tag:0x00007f65820ca3c0> #<Tag:0x00007f65820ca1b8>

jpush_flutter调用setTags崩溃

请升级到最新版本的插件后再测试

最新版本,sample调试都报错,没办法集成进来

使用pub上的0.1.0版本setTags成功;
但是又发现一个新问题,通过RegistrationID推送消息,真机上能接收消息,但会报以下警告和错误:

W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
I/dalvikvm(10966): Could not find method android.graphics.drawable.Icon.createWithBitmap, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve static method 1048: Landroid/graphics/drawable/Icon;.createWithBitmap (Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;
I/dalvikvm(10966): Could not find method android.app.Notification$Builder.setGroupSummary, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve virtual method 238: Landroid/app/Notification$Builder;.setGroupSummary (Z)Landroid/app/Notification$Builder;
I/dalvikvm(10966): Could not find method android.app.Notification$Builder.setCategory, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve virtual method 222: Landroid/app/Notification$Builder;.setCategory (Ljava/lang/String;)Landroid/app/Notification$Builder;
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve check-cast 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve check-cast 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve check-cast 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
I/dalvikvm(10966): Could not find method android.graphics.drawable.Icon.createWithResource, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve static method 1050: Landroid/graphics/drawable/Icon;.createWithResource (Landroid/content/Context;I)Landroid/graphics/drawable/Icon;
W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve instanceof 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve check-cast 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
I/dalvikvm(10966): Could not find method android.graphics.drawable.Icon.createWithBitmap, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve static method 1048: Landroid/graphics/drawable/Icon;.createWithBitmap (Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;
E/dalvikvm(10966): Could not find class ‘android.graphics.drawable.Icon’, referenced from method cn.jpush.android.e.b.a
W/dalvikvm(10966): VFY: unable to resolve check-cast 183 (Landroid/graphics/drawable/Icon;) in Lcn/jpush/android/e/b;
I/dalvikvm(10966): Could not find method android.graphics.drawable.Icon.createWithFilePath, referenced from method cn.jpush.android.e.b.b
W/dalvikvm(10966): VFY: unable to resolve static method 1049: Landroid/graphics/drawable/Icon;.createWithFilePath (Ljava/lang/String;)Landroid/graphics/drawable/Icon;
W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
W/dalvikvm(10966): VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)

这里面没有看到jiguang 的tag的日志,根据说明看起来与 icon 有关系,检查你 icon 图标的配置