【问题标题】:What is Android Debug symbol and how to configure that in Flutter app什么是 Android Debug 符号以及如何在 Flutter 应用程序中配置它
【发布时间】:2021-07-19 00:19:39
【问题描述】:

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

flutter build appbundle

当我将捆绑包上传到 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.

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

更新:

如下修改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     

【问题讨论】:

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


【解决方案1】:

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

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

【讨论】:

  • 嘿,谢谢,是的,这只是一个警告。还是想解决。在重复链接中显示So I suggest you return classic Play console and it will let you through :) 什么是经典用户界面?几周前我刚开始开发 Flutter android 应用程序,只是不确定所有这些事情。
  • 第二个答案不是第一个说“如果谈论 Flutter...”
猜你喜欢
  • 2020-08-24
  • 1970-01-01
  • 1970-01-01
  • 2022-11-18
  • 2016-12-23
  • 2016-01-24
  • 1970-01-01
  • 2016-02-26
  • 2018-07-09
相关资源
最近更新 更多