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.
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
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.