-
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
Obfucation and 2.8.1 version cause an app launch crash #2286
Comments
Facing the same crash, can you fix it, looks like it blocks most projects targeting 31 work.
|
+1 reproducible crash on 2.8 and 2.8.1 |
+1 |
This crash happens because Just add keep rules in your debug progurd rules
|
We'll eventually ship with those proguard rules, but in the meantime you can add them to your project directly. I just removed a bunch of +1 comments. Please don't do that. |
We need a new release of Curtains and then bump the dependency in LeakCanary. |
New release includes Proguard rule to keep appcompat WindowCallbackWrapper class Fixes #2286
Description
When building the app with LeakCanary v2.8.1 and obfuscation enabled, the app launch crashes with the following:
Steps to Reproduce
When using LeakCanary dependency of 2.8.1 and
minifyEnabled
andshrinkResources
both set to true, the app launch crashes.Using this dependency might also contribute to the crash:
androidx.window:window:1.0.0-rc01
Expected behavior:
The app shouldn't crash
Version Information
Additional Information
Using LeakCanary 2.8 does not produce the crash, even if the WindowManager dependency (
androidx.window:window:1.0.0-rc01
) is still in use then.Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: