Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter: How to deobfuscate a stack trace?

I am trying to deobfuscate a flutter stack trace using the command, where err.txt is my stack trace file -

flutter symbolize -i err.txt -d /out/android/app.android-arm64.symbols

However, on running I get an error, I require a file called app.android-arm64.symbols to deobfuscate my stack trace but I don't know where to find this file, as this isn't mentioned clearly in the Flutter documentation. This is the error I get:

 /out/android/app.android-arm64.symbols does not exist

Can someone help me out on how to do this?

like image 859
Arnav Avatar asked Oct 23 '25 17:10

Arnav


1 Answers

Symbols are generated while building the apk/bundle so you could check there.

flutter build apk --obfuscate --split-debug-info=/<project-name>/<directory>
like image 163
RadiantOne Avatar answered Oct 26 '25 06:10

RadiantOne