java.lang.RuntimeException: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2566) at android.app.ActivityThread.access$1800(ActivityThread.java:148) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1400) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5457) at java.lang.reflect.Method.invokeNative(Native Method:0) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:879) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695) at dalvik.system.NativeStart.main(Native Method:0) Caused by: java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java:1434) at android.os.Parcel.readException(Parcel.java:1388) at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:320) at android.app.NotificationManager.notify(NotificationManager.java:136) at android.app.NotificationManager.notify(NotificationManager.java:109) at net.agasper.unitynotification.UnityNotificationManager.onReceive(UnityNotificationManager.java:134) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2555)
I have been seeing a lot of crashes due to above issue on Android, any solution for it?
java.lang.RuntimeException: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2566) at android.app.ActivityThread.access$1800(ActivityThread.java:148) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1400) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5457) at java.lang.reflect.Method.invokeNative(Native Method:0) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:879) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695) at dalvik.system.NativeStart.main(Native Method:0) Caused by: java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java:1434) at android.os.Parcel.readException(Parcel.java:1388) at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:320) at android.app.NotificationManager.notify(NotificationManager.java:136) at android.app.NotificationManager.notify(NotificationManager.java:109) at net.agasper.unitynotification.UnityNotificationManager.onReceive(UnityNotificationManager.java:134) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2555)
I have been seeing a lot of crashes due to above issue on Android, any solution for it?