admin管理员组

文章数量:1400123

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
}

本文标签: androidCrashlytics39 LogsampBreadcrumbs are obfuscatedStack Overflow