android - 什么是 Android 调试符号以及如何在 Flutter 应用程序中配置它

标签 android flutter google-play-console android-app-bundle flutter-release

我正在尝试使用应用程序包在 play.google.com 上首次发布 Android 应用程序。该应用程序使用 Flutter SDK 在 Android Studio 中实现,并使用以下命令生成 bundle :

flutter 构建 appbundle

当我将 bundle 上传到 Google Play 管理中心时,我收到以下警告:

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.

我观察到很多人提出了类似的问题,但我无法弄清楚这个问题的确切原因以及如何解决这个问题。

enter image description here

更新:

通过修改root_app_dir/android/app/build.gradel如下

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

开始给我以下错误:

* What went wrong:                                                      
Execution failed for task ':app:extractReleaseNativeDebugMetadata'.     
> NDK is not installed     

最佳答案

它是重复的here寻找“如果谈论 Flutter...”的答案

但是你不必太担心它只是警告,我已经上传了多个带有相同警告的 flutter 应用程序,它工作得很好。

关于android - 什么是 Android 调试符号以及如何在 Flutter 应用程序中配置它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67252857/

相关文章:

google-play - Play 商店 2020 : Is there a review process for "promoting" an app from closed testing to production?

java - 由于不符合所有文件访问权限政策,Google Play 商店不断被拒绝

android - 如何在 Google Play 上重新发布 Android 应用程序?

java - 如何使用抽屉式导航栏选择 View 页面

android - 如何将 `TextView` 数据数组添加到现有 TextView 中?

android - React-Native:错误无法安装应用程序。确保您正在运行 Android 模拟器

android-studio - 禁用阻止Android Studio中的光标的内联提示

flutter - 如何在下拉式 flutter 中设置初始默认值

flutter - 如何更改 TextField 中字符串输入的颜色?

android - Play 商店说我的应用程序受 0 台设备支持 - 没有设备与我的应用程序兼容