1

我正在尝试使用应用程序包首次在 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     
4

1 回答 1

1

它是重复的,去寻找“如果谈论颤振......”的答案。

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

于 2021-04-25T11:34:19.570 回答