android-proguard-snippets
android-proguard-snippets copied to clipboard
Proguard configurations for common Android libraries
These three classes are required now in Jackson for android prior to L
Changes for ButterKnife 8
@krschultz
Annotations need to be preserved (the rule may be a bit too broad; I left another setting that also works commented out).
Add rules for `Apache Log4j` logging library https://logging.apache.org/log4j/ --- gradle dependencies is listed below ``` dependencies { compile 'de.mindpipe.android:android-logging-log4j:1.0.3' compile 'log4j:log4j:1.2.17' } ```
I discovered that with current Guava configuration ProGuard removes annotated EventBus subscriber methods and so events are fired but not consumed. This rule fixes this issue: ``` -keepclassmembers class **...
Is there a proguard snippet for Leak Canary (https://github.com/square/leakcanary)?
more detail at https://bugly.qq.com/androidfast