proguard.cfg file missing

If you’re using ADT 17 or newer, 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 toolchain will sometimes make changes to project.properties, but your Proguard path will be preserved.

Leave a Comment