Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 proguard 中设置自定义类名(proguard.cfg 中的命令)?
假设我有 com.scana.MyClass 类,我希望 proguard 始终将其混淆为“tx”
问题解决了。您可以使用:-applymapping file-name在 proguard.cfg
-applymapping file-name
文件内容示例:
com.scana.MyClass -> tx: