How to get list of stripped by Proguard methods an

2019-07-24 18:27发布

Proguard removes unused methods and classes during optimization. How to get list of them?

1条回答
可以哭但决不认输i
2楼-- · 2019-07-24 18:47

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.

查看更多
登录 后发表回答