10

I have an android project build with gradle.

It is obfuscated with proguard.

Proguard generates dump.txt file that has 70 MB.

I don't want it. I don't need it. It exausts my SSD.

Hou can I disable dump.txt file generation?

babay
  • 4,689
  • 1
  • 26
  • 40

1 Answers1

1

Check the following locations for the -dump flag.

  • proguard-android.txt
  • proguard-rules.pro
  • project.properties (proguard include property)

If you find argument '-dump dump.txt', simply delete it.

Since you know the name of the output file, you can grep your project directory to find out where this is defined.

  • 1
    That didn't help. I was unable to locate -dump anywhere in files: proguard-android.txt, proguard-rules.txt, local.properties. I was unable to locate in anywhere in project files – babay Oct 11 '16 at 08:32
  • 1
    I found it in android-sdk/tools/ant/build.xml, but commenting it there does not seem to have an effect :-( – Dmitry Mar 01 '17 at 13:11