Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

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

Closed
vad-zuev opened this issue Sep 30, 2015 · 4 comments
Closed
Labels

Comments

@vad-zuev
Copy link

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?

@sergejsha
Copy link
Owner

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

@vad-zuev
Copy link
Author

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

@sergejsha
Copy link
Owner

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

@sergejsha sergejsha added the TODO label Sep 30, 2015
@sergejsha
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants