I have published a Flutter app on Play Store that reports crashes from time to time. To build it for release, I used obfuscation as described here with the command:
flutter build apk --obfuscate --split-debug-info=build/app/outputs/symbols
Now in Play Console I get a stack trace from an occurring crash like:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.package.name <<<
backtrace:
#00 pc 00000000000744b0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
#00 pc 00000000002bc350 /data/app/com.package.name-CelqfOPR1qgCAOmLM1XLVg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libflutter.so (offset 0x5cc000)
#00 pc 00000000002b29c0 /data/app/com.package.name-CelqfOPR1qgCAOmLM1XLVg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libflutter.so (offset 0x5cc000)
#00 pc 0000000000000001 <unknown>
where 'package.name' is the package name of my app.
How do I deobfuscate/symbolize this stack trace?
I already tried using the flutter symbolize command for the appropriate architecture, as recommended:
flutter symbolize -i err.txt -d app.android-arm64.symbols
but it just prints again the err.txt file (the stack trace).
Is there something I am missing in the whole process of debugging Flutter crash reports on Android?