gpt4 book ai didi

android - 如何获取 Proguard 方法和类剥离的列表?

转载 作者:搜寻专家 更新时间:2023-11-01 08:23:21 28 4
gpt4 key购买 nike

Proguard 在优化过程中删除未使用的方法和类。如何获得他们的名单?

最佳答案

我认为你应该使用printusage

根据混淆器

-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.

这是将在优化时删除的代码,但您也可以控制优化过程。

关于android - 如何获取 Proguard 方法和类剥离的列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47864930/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com