I am trying to publish an Android application to Google Play and getting a 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 found in one documentation, that I should add
android.buildTypes.release.ndk.debugSymbolLevel = { SYMBOL_TABLE | FULL }
line to build.gradle
file and in another documentation, tha I should add
android.defaultConfig.ndk.debugSymbolLevel = 'FULL'
line to build.gradle
file.
Which one is correct?
Anyway, neither is working.
If I add the line (as is) to build.gradle
(literally following the documentation), I am getting Gradle
errors that it can't find ndk
or debugSymbolLevel
names.
If I add the line (as is) to gradle.properties
, than it has no effect: aab
file appears having the same size and the warning persists.
How to accomplish?