android - 了解启用 Proguard 时的崩溃和 ANR

标签 android logging crash proguard crash-reports

我在查看开发者控制台上的崩溃报告时注意到,由于我启用了 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/

相关文章:

crash - 如果在给定时间内没有可用数据,则Gnuplot不会绘制数据

android - setImageResource 崩溃的应用程序

ios - XCode 4.2 在多个目标设置上崩溃

java - 使用 BeeWare 制作 Android 应用程序时出现问题

java.lang.IllegalStateException : onGetLayoutInflater() cannot be executed until the Fragment is attached to the FragmentManager 错误

Android MediaCodec 和摄像头 : how to achieve a higher frame rate to get frame raw data from camera?

reactjs - 在哪里调用Sentry.configureScope?

javascript - PhoneGap 应用程序在 Android 上无响应

mysql 日志文件是空的,尽管我似乎已经设置了所有内容

logging - Nlog 'one logger per class'