在调试模式开发时我在发布版本中获得了正确的崩溃行数我得到了崩溃文件名但是源代码未知。
I have included
-keep class com.crashlytics.** { *; }
-keep class com.crashlytics.android.**
我在ProGuard中添加了以上行。
答案 0 :(得分:18)
除ProGuard规则外,请尝试以下几行:
# Preserve annotations, line numbers, and source file names
-keepattributes *Annotation*,SourceFile,LineNumberTable