proguard does not stop obfuscating method name despite “Keep names”

半世苍凉 提交于 2019-12-06 11:08:18

The checkbox for Keep names - .class method names is unrelated. It preserves the names of classes that are used in .class constructs, for instance MyClass.class. It is rarely required.

The screenshot doesn't show the custom rules that you have defined, but the configuration should contain

-keep class com.seleniumtests.** {
    <methods>;
}

You can verify this on the Process tab or in the saved configuration file.

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