Closed jiulongw closed 3 years ago
If this only happens after turning on ProGuard I guess you should check your rules. As a first step, try the rules suggested in the README: https://github.com/greenrobot/EventBus#r8-proguard
Thanks. In the real project we do add proguard rules for EventBus but I guess it was from a previous version. After updating to latest version of proguard rules this is fixed.
Similar with #608 but: 1) still happens in latest version 3.2.0 2) only happens when R8 minify is enabled
So it seems like the patch for #608 did not cover all possible code paths.
I created repo eventbus-issue-repro with an empty Android app for you to try it out. This particular commit triggers the crash.
Create a release build and install it on an API-25 device. You should see following crash stack: