通过RegistrationID推送消息,真机上能接收消息,但会报以下警告和错误

标签: #<Tag:0x00007f65766e1b98> #<Tag:0x00007f65766e19e0>

通过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;)

检查icon图标相关的配置

谢谢!

找了一些资料,补充了SDK中的包,但还是有以下警告信息

I/flutter (28236): jpush.setup
I/flutter (28236): jpush.applyPushAuthority
I/dalvikvm(28236): Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method cn.jpush.android.i.a.a
W/dalvikvm(28236): VFY: unable to resolve virtual method 21777: Landroid/webkit/WebSettings;.setMixedContentMode (I)V
I/dalvikvm(28236): Could not find method android.content.Context.checkSelfPermission, referenced from method cn.jpush.android.i.a.a
W/dalvikvm(28236): VFY: unable to resolve virtual method 408: Landroid/content/Context;.checkSelfPermission (Ljava/lang/String;)I
I/dalvikvm(28236): Could not find method android.app.AppOpsManager.permissionToOp, referenced from method cn.jpush.android.i.a.a
W/dalvikvm(28236): VFY: unable to resolve static method 164: Landroid/app/AppOpsManager;.permissionToOp (Ljava/lang/String;)Ljava/lang/String;
I/dalvikvm(28236): Could not find method android.webkit.WebView.setDataDirectorySuffix, referenced from method cn.jpush.android.i.a.d
W/dalvikvm(28236): VFY: unable to resolve static method 21800: Landroid/webkit/WebView;.setDataDirectorySuffix (Ljava/lang/String;)V
I/JIGUANG-JPush(28236): [JPushGobal] found messageReceiverClass :com.jiguang.jpush.JPushEventReceiver by getCommonReceiverNames
I/JIGUANG-JCore(28236): [JCoreGobal] action:init jcore,version:2.1.2,build id:40
I/JIGUANG-JCore(28236): [JCommonServiceHelper] found userServiceClass :com.jiguang.jpush.JPushCustomService by getCommonServiceNames