ARouter ProGuard rules

ARouter – a android router middleware that help app navigating to activities and custom services.

ProGuard rules for ARouter

ProGuard removes classes, and attributes and methods in the shrinking step. Remaining classes, fields, and methods after obfuscation phase will be with short names. Use the following rules in your proguard-rules.pro file to fix errors.

# ARouter
-keep public class com.alibaba.android.arouter.routes.**{*;}
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}

For more information about ARouter please see the website.

Static Gson ProGuard rules

Popular ProGuard rules