简体   繁体   English

CrashLytics未显示崩溃原因

[英]CrashLytics not showing crash reason

I am using crashlytics in my app. 我在我的应用程序中使用crashlytics。 It caught a crash in the app, but not telling the line of code where crash occured. 它在应用程序中导致崩溃,但没有告诉代码行崩溃发生的位置。 It is showing the verify error, but not telling where it is. 它显示了验证错误,但没有告诉它在哪里。 This link is a screenshot to the report. 此链接是该报告的屏幕截图。 It is showing ??? 它显示??? about the crash, see this link . 关于崩溃, 请参阅此链接 How to study this crash now? 现在如何研究这次崩溃? ._. ._。

Preserve annotations, line numbers, and source file names 保留注释,行号和源文件名

-keepattributes *Annotation*,SourceFile,LineNumberTable -keepattributes *注释*,SourceFile,LineNumberTable

If you are using custom exceptions, add this line so that custom exception types are skipped during obfuscation: 如果使用自定义例外,请添加以下行,以便在混淆过程中跳过自定义例外类型:

-keep public class * extends java.lang.Exception -keep公共类*扩展java.lang.Exception
-printmapping mapping.txt -printmapping mapping.txt

To skip running ProGuard on Crashlytics, add the following. 要跳过在Crashlytics上运行ProGuard,请添加以下内容。 This will help speed up builds so that we can ship and test even faster. 这将有助于加快构建速度,以便我们可以更快地进行发货和测试。

-keep class com.crashlytics.** { *; -保持类com.crashlytics。** {*; } }
-dontwarn com.crashlytics.** -dontwarn com.crashlytics。**

More Info: Follow this link to Configure Crashlytics with Proguard. 更多信息:单击此链接可以使用Proguard配置Crashlytics。

https://docs.fabric.io/android/crashlytics/dex-and-proguard.html https://docs.fabric.io/android/crashlytics/dex-and-proguard.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM