sergejsha/tinybus

java.lang.NoClassDefFoundError: android/os/PersistableBundle crash

vad-zuev opened this issue · 4 comments

After some recent Play Services update this crash has become very common for any app using any kind of Event Bus implementation on pre-21 devices. Happens when trying to call register(Obj).
The only solution I've seen so far is not using anything containing the PersistableBundle, which I don't use anyway and still have this issue.
Do you have any ideas on that?

I don't use PersistableBundle in the code either. Do you have a stacktrace of the exception?

I'm aware of the fact that you don't use it. It is somehow related to some parts of the Android SDK, my stack trace is basically the same as posted here square/otto#139
After some googling I realized that many apps that use any kind of some event bus are affected, but I haven't seen any proper solution so far

Ah, I see. Thanks for letting me know. I'll keep the issue open until I can execute tests on a Marshmallow device.

I was not able to reproduce the issue on a 6.0 device. That's why closing.