How can I disable non-ASCII characters while obfuscating dexguard?
We use Crittercism to analyze our application crashes, but since we also use DexGuard with default obfuscation options, Crittercism cannot de-obfuscate stacktraces with the mappings.txt file generated by DexGuard.
So my question is simple:
How can I disable non-ASCII characters for DexGuard-obfuscation?
We are using Gradle -buildsystem btw.
source to share
Curious what led you to the idea that disabling non-ASCII characters would fix DexGuard-obfuscated stacktraces' handling of Crittercism? AFAIK they will need to use ReTrace.jar, which is the part of DexGuard not ProGuard (sorry, I don't know if it is possible to disable non-ASCII characters)
For me it looks like a Crittercism issue, do they support DexGuard? I asked their support team ( support@crittercism.com ) ~ 1 year ago to support DexGuard and it wasn't even on their roadmap.
If you are not attached to Crittercism, I know that Crashlytics and Hockeyapp support DexGuard (this was one of the reasons I switched Crashlytics).
Update
I stumbled upon this by accident today. You can override the DexGuard default obfuscation dictionary and only define ASCII characters.
define in dexguard-project.txt file
-obfuscationdictionary dictionary.txt
-classobfuscationdictionary classdictionary.txt
source to share