我在查看开发者控制台上的崩溃报告时注意到,由于我启用了 Proguard,所以所有方法名称都只是字母。自然地,这使得调试崩溃变得相当困难。我对此表示怀疑,但是否仍然可以在我的应用程序上启用 Proguard 的同时接收显示实际方法名称的崩溃报告?
最佳答案
请阅读documentation .
mapping.txt Lists the mapping between the original and obfuscated class, method, and field names. This file is important when you receive a bug report from a release build, because it translates the obfuscated stack trace back to the original class, method, and member names. See Decoding Obfuscated Stack Traces for more information.
并直接this .
关于android - 了解启用 Proguard 时的崩溃和 ANR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21731211/