问题
Proguard removes unused methods and classes during optimization. How to get list of them?
回答1:
I think you should use printusage
As per proguard
-printusage [filename]
Specifies to list dead code of the input class files. The list is printed to the standard output or to the given file. For example, you can list the unused code of an application. Only applicable when shrinking.
This is code which will be removed at the time of optimization, though you can also control optimization process.
来源:https://stackoverflow.com/questions/47864930/how-to-get-list-of-stripped-by-proguard-methods-and-classes