Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable generation of dump.txt by proguard when building android gradle project

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?

like image 717
babay Avatar asked Sep 30 '16 04:09

babay


1 Answers

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.

like image 194
Helston Fauna Avatar answered Oct 31 '22 11:10

Helston Fauna