Proguard Retrace not working with stacktrace runtime info like E/AndroidRuntime(10237):

前端 未结 3 929
孤独总比滥情好
孤独总比滥情好 2021-01-01 22:21

I need to remove lines from my proguard.trace file like E/AndroidRuntime(10237): in order for retrace to work. Basically I am looking at log file and need to remove this l

相关标签:
3条回答
  • 2021-01-01 23:04

    Try recat. It's a python script based on logcat-color, made exactly for this scenario, on-the-fly logcat deobfuscation (doesn't work on Windows though). The main idea is that it deobfuscates each part of the log (tags/messages) separately.

    0 讨论(0)
  • 2021-01-01 23:05

    Proguard wants each "at" on a separate line, and only with white space before it. If it sees anything but white space before the at, it will not unobfuscate it.

    0 讨论(0)
  • 2021-01-01 23:12

    Recent versions of ReTrace can parse stack traces with the logcat prefixes like "E/AndroidRuntime(10237):", so it should no longer be a problem.

    If you have a stack trace format that ReTrace can't parse, you can always specify your own regular expression with the option -regex.

    0 讨论(0)
提交回复
热议问题