RIBs icon indicating copy to clipboard operation
RIBs copied to clipboard

Bundle proguard rules with AAR

Open dharakk opened this issue 8 years ago • 0 comments

When built with proguard, it throws the following error, adding -dontwarn com.uber.rib.core.** fixes the issue.

Warning: com.uber.rib.core.Interactor_MembersInjector: can't find superclass or interface dagger.MembersInjector Warning: there were 5 unresolved references to classes or interfaces. You may need to add missing library jars or update their versions. If your code works fine without the missing classes, you can suppress the warnings with '-dontwarn' options. (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass) Error: Please correct the above warnings first.

Bundling pro guard rule with the aar will help us remove the -dontwarn rule safely from the global proguard of the application.

dharakk avatar Dec 22 '17 11:12 dharakk