Java – where can I find Proguard. Java in my project cfg?
•
Java
I want to enable Proguard for my application in this document @ L_ 301_ 0 @, it says that the Proguard that I have to modify is automatically generated cfg. However, if I look at my project folder, I only see a project - project Txt file, but I didn't see the Proguard. TXT file I needed cfg.
How can I get this Proguard cfg? Or did I do it wrong?
Please guide me through this document
Solution
The document is slightly inaccurate The generated file is Proguard project Txt, which will be located in the root directory of the project
To enable Proguard, you need to ignore project The "do not modify" warning in properties and uncomment the following line:
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
The Android tool chain sometimes affects project Properties, but your Proguard path will be preserved
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码