How to get list of stripped by Proguard methods and classes?

旧时模样 提交于 2019-12-11 02:34:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!