-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError crash on startup in PlumberInstaller #1899
Comments
Thanks for the bug report and suggested fix! Definitely not a known issue. I haven't been able to repro, can you share a sample project or specific about the proguard config that make this happen? Alternatively, can you try with this more specific configuration and confirm it still works:
I've added that to https://github.com/square/leakcanary/pull/1914/files The reason I want the more specific configuration is because apps using proguard probably still want to shrink most of their enums. |
Thx! Feel free to reopen or open a new one if this happens again. I'm glad it's useful! We have the guest book for testimonials ;) |
Seen this issue today and resolved it by restarting PC, invalidating Android Studio cached and checking out commits back and forth. |
I also ran into this issue after adding Plumber to release builds of my app. Others on my team could reproduce it as well but I was unable to repro it in a sample app with a similar configuration.
|
Here's a sample project that reproduces the issue. The linked PR would appropriately address the issue. |
I'm seeing a crash upon startup, which seems to be internal to the plumber component:
I was able to resolve it by including the following in my ProGuard rules:
Is it known that these rules are required, or am I doing something wrong myself?
Version Information
The text was updated successfully, but these errors were encountered: