What is Android Debug symbol and how to configure that in Flutter app

2,530

it is duplicate here go for the answer that says "If talking about Flutter..."

however you don't have to worry about it too much it is just warning and I've uploaded multiple flutter apps with same warning and it works just fine.

Share:
2,530
Dipak
Author by

Dipak

"A computer program does what you tell it to do, not what you want it to do." ― Undefined "An expert is someone who knows more and more about less and less, until eventually he knows everything about nothing." ― Anonymous “But somethings in life are more important than being happy. Like being free to think for yourself." ― Jon Krakauer, Into The Wild “All thinking men are atheists.” ― Ernest Hemingway, A Farewell to Arms

Updated on December 15, 2022

Comments

  • Dipak
    Dipak over 1 year

    I am trying to release an Android app for the first time on play.google.com using an app bundle. The app is implemented in Android Studio using Flutter SDK and the bundle is generated using the following command:

    flutter build appbundle

    When I upload the bundle to Google Play Console, I get the following 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. 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 observe lots of people raised similar issues, but I'mnot able to figure out the exact reason for this issue and how to solve this.

    enter image description here

    Update:

    By modifying root_app_dir/android/app/build.gradel as follows

    buildTypes {
            release {
                signingConfig signingConfigs.release
                ndk {
                    debugSymbolLevel 'FULL'
                }
            }
        }
    

    Started giving me the following error:

    * What went wrong:                                                      
    Execution failed for task ':app:extractReleaseNativeDebugMetadata'.     
    > NDK is not installed     
    
  • Dipak
    Dipak about 3 years
    Hey Thanks, yes it's just a warning. Still would like to solve it. And in the duplicate link it says So I suggest you return classic Play console and it will let you through :) what is classic UI? I just started working on the flutter android app a few weeks back just not sure about all these things.
  • Moaid ALRazhy
    Moaid ALRazhy about 3 years
    go for second the answer not first one that says "If talking about Flutter..."