proguard icon indicating copy to clipboard operation
proguard copied to clipboard

Ignore unused constant pool entries

Open xxDark opened this issue 5 years ago • 1 comments

Hello. Currently, proguard complains about missing methods (they are probably mentioned in constant pool), even if they are not used at all. That does not allow me to proceed. I'm currently using -dontwarn option as a workaround. Perhaps, could you please make that so Proguard will ignore such entries? Thanks.

xxDark avatar Feb 19 '21 22:02 xxDark

Hi @xxDark ! Normally this occurs when your code references some class that is not in your -injars or -libraryjars.

This can sometimes occur when using a library that contains references to optional components. In this case, it's fine to add a -dontwarn for these classes.

mrjameshamilton avatar May 10 '21 23:05 mrjameshamilton