Where do I find proguard.cfg in my project?

我与影子孤独终老i 提交于 2019-11-30 19:44:15

The documentation is slightly inaccurate. The generated file is proguard-project.txt and will be in the root directory of your project.

To enable Proguard, you will need to ignore the "do not modify" warning in project.properties and uncomment the following line:

     proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

The Android tool chain will sometimes make changes to project.properties, but your Proguard path will be preserved.

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