I'm trying to upload my bundle Flutter app to Google Play from my Mac, but I'm getting a warning about adding "debug symbols":
This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug.
According to this answer, I need to zip the three folders and upload it as a "debug symbols".
However, I'm getting the above error when trying to upload the compressed files:
The native debug symbols contain an invalid directory __MACOSX. Only Android ABIs are supported.
What is the problem? What should I do?
I have solved the issue by deleting all __MACOSX folders from my zip.
After compressing your arm64-v8a, armeabi-v7a and x86_64 folders, run the above command to get rid of the Mac __MACOSX files:
zip -d Archive.zip "__MACOSX*"
Then you can upload the .zip symbol file to Google Play Console.
When you compress folders using MacOS Archive utility than it will include _MACOSX file as well, so there are two ways to handle the situation:
1- Delete _MACOSX folder that is hidden.
2- Download WinZip and Compress using it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With