Lokesh Tiwari
Lokesh Tiwari

Reputation: 10586

Release build crashlytics is not sending line number in crashreport?

While debug mode development I am getting proper line number of crash while in release build I am getting crash file name but with unknown source.

I have included
-keep class com.crashlytics.** { *; }
-keep class com.crashlytics.android.**

I have added above lines in ProGuard.

Upvotes: 10

Views: 3362

Answers (1)

user4774371
user4774371

Reputation:

Try following lines, in addition to your ProGuard rules:

# Preserve annotations, line numbers, and source file names
-keepattributes *Annotation*,SourceFile,LineNumberTable

Upvotes: 23

Related Questions