Play Console warning: 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

i built an appbundle with “flutter build appbundle” and uploaded it to Play Console , but i get this warning.

Reading around the web, I learned that this warning can be fixed:

  • adding android.buildTypes.release.ndk.debugSymbolLevel = ‘FULL’ in app/build.gradle file
  • setting the ndk version in the same file (eg ndkVersion = “28.0.12916984” )

i tried both but i still get the warning.
What’s next ?

Hi @niluved,

I’ve never managed to get those two steps to work either, so I take a manual approach.

Once you have built your bundle, go to the directory:

build/app/intermediates/merged_native_libs/release/out/lib

Zip up the contents of the lib folder. In the Play Console, if you click on the bundle details there is a Downloads tab. In there you can upload your symbols zip fie.

2 Likes