Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android debugSymbolLevel = { SYMBOL_TABLE | FULL } not working

I want to upload an Android app with debug symbols to Google Play Console in order to have detailed crash logs for my C++ code.

So I followed the steps here and added this line:

android.buildTypes.release.ndk.debugSymbolLevel = 'FULL'

At the top of my Gradle file just below the 'apply plugin:' lines (in the Gradle at :app level)

I also tried to add:

ndk {
debugSymbolLevel 'FULL'
}

in: buildTypes { release{ here!!! }}

but doesn't work.

I still get the following message in the Google Play Console when I upload my app:

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.

The problem is mentioned here but not solved.

Anybody found a workaround?

Thanks.

like image 900
Regis_AG Avatar asked Mar 01 '26 00:03

Regis_AG


1 Answers

In my case my build.gradle script already had a buildTypes block and in that block I could set up the ndk.debugSymbolLevel config option, an image say more than thousand words, hope it can help you

image of my build.gradle script

like image 87
Pedro Rondon Avatar answered Mar 02 '26 14:03

Pedro Rondon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!