最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Crashlytics' Logs&Breadcrumbs are obfuscated - Stack Overflow

programmeradmin5浏览0评论

I am using crashlytics for my android app developed with Flutter. I use the following flags to build the app

--obfuscate 
--split-debug-info=<debug-symbols-path>
--extra-gen-snapshot-options=--save-obfuscation-

After getting build I upload debug symbols to crashlytics using cli with the following comand:

firebase crashlytics:symbols:upload --app=<firebase-app-id> <debug-symbols-path>

The cli prints symbols are successfully uploaded.

When I check Crashlytics console after triggering an error the Stack Trace tab displays

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
Exception: Triggered error: 2025-03-25 15:00:59.282598. Error thrown . 

com.example home_screen.dart - Line 79 HomeScreen.build.<anonymous closure> + 79

But Logs&Breadcrumbs tab display class names obfuscated like following

3   03:00:56.742 PM 
redirecting to Instance of 'aEa'

Is this expected behavior for Logs& Breadcrumbs? shouldn't class names be de-obfuscated? or am I missing something.

I tried inserting the following to the app/build.gradle but it didn't work.

firebaseCrashlytics {
            mappingFileUploadEnabled true
}
发布评论

评论列表(0)

  1. 暂无评论