You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: [What you expect to happen]
The app to run and plumber to be setup properly.
Version Information
LeakCanary version: 2.6
Android OS version: 11
Gradle version: 6.7.1
Additional information
#1914 solves the problem, but there might be a slightly more specific rule. It keeps all of the enum cases in perhaps a indirect way. It explicitly keeps the thing that EnumSet depends on, though.
-keepclassmembers,allowoptimization enum leakcanary.AndroidLeakFixes {
public static **[] values();
}
The text was updated successfully, but these errors were encountered:
Description
The app crashes on startup because of
EnumSet
reflection in the plumber artifact. R8 shakes all of the relevant fixes.Reopens #1899 for visibility.
Steps to Reproduce
leakcanaryr8.zip
Build a release apk, install it, and run the app.
Expected behavior: [What you expect to happen]
The app to run and plumber to be setup properly.
Version Information
Additional information
#1914 solves the problem, but there might be a slightly more specific rule. It keeps all of the enum cases in perhaps a indirect way. It explicitly keeps the thing that EnumSet depends on, though.
The text was updated successfully, but these errors were encountered: