Skip to content Skip to sidebar Skip to footer

Keep Logging While Obfuscating With Dexguard

I am trying to make Dexguard not stripping out logging functions when it is shrinking and obfuscating my code. I have therefore commented the following instruction in Dexguard conf

Solution 1:

You probably have lots of debug strings in this class in combination with an -encryptstrings ** directive.

This will lead to a large number of encrypted strings in a single class leading to errors as described in your post.

I would suggest that you revisit your -encryptstrings rules, and only encrypt the ones that are really sensitive.

Post a Comment for "Keep Logging While Obfuscating With Dexguard"