How to upload symbols file to Google Play Publisher Console ?

ยท 182 words ยท 1 minute read

When I was uploading the release version of image to text OCR app , Google Play Publisher Platform says “This App Bundle contains native code, and you’ve not uploaded debug symbols. We recommend you upload a sumbol file to make your crashes and ANRs easier to analyze and debug. Learn More”

Here are the steps to generate the symbols file and upload it.

in app/build.gradle add: ๐Ÿ”—

android {
    defaultConfig {
+        ndk {
+            debugSymbolLevel 'FULL'
+        }

go to this path inside your project ๐Ÿ”—

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

compress them all in one file ๐Ÿ”—

zip -r .

upload the file upto Google Play Console ๐Ÿ”—

In Google Play Console, inside release, upload the symbols compressed file.

That’s it, you’re done.

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .

waffarx cash back