Android ProGuard - only obfuscation

假如想象 提交于 2019-11-30 06:23:12

问题


Is it possible to use ProGuard for only obfuscation. I don't want ProGuard to remove any classes from my projects. My intention to use ProGuard is only for obfuscation so as to prevent reverse engineering.


回答1:


Yes, by specifying

-dontshrink
-dontoptimize

You can find details on all configuration options in the ProGuard manual.

Note that shrinking and optimization may help preventing reverse engineering a bit.



来源:https://stackoverflow.com/questions/6633411/android-proguard-only-obfuscation

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