What is proguard.txt in the libs / Android folder for Android?

The role of proguard.cfg in the root of the Android project is pretty clear, as it is explained in the Proguard Improvement message. This is a file that is edited and maintained by the project developer and is still so good.

But I just noticed that there is another file with the same base name (but with a different extension), proguard.txt , which is automatically generated by the Eclipse + Adt build system and placed in the libs/ project subdirectory.

This file is automatically created even if the project is never exported (i.e. to the release APK).

What is the purpose of this file?

Is this some kind of caching to speed up the generation of the apk when the export is ultimately done?

Can it be used for debugging?

+4
source share
1 answer

produard-projectname.txt is renamed to proguard.cfg. File name renamed to ADT 17

The proguard.txt file is required to run the Proguard tool. It contains default configuration values.

To optimize the .apk file, you must make changes to this file. For example, enabling logging, etc.

+1
source

Source: https://habr.com/ru/post/1493979/


All Articles