【问题标题】:This App Bundle contains native code, and you've not uploaded debug symbols此 App Bundle 包含本机代码,并且您尚未上传调试符号
【发布时间】:2021-03-09 12:24:12
【问题描述】:

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

FAILURE:构建失败并出现异常。

  • 在哪里: 构建文件 'H:\Flutter_Projects\xylophone_app\android\app\build.gradle' 行:1

  • 出了什么问题: 评估项目 ':app' 时出现问题。

无法为 org.gradle.api.Project 类型的项目 ':app' 获取未知属性 'android'。

  • 尝试: 使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。运行 --scan 以获得完整的见解。

  • 通过https://help.gradle.org获得更多帮助

在 9 秒内构建失败 异常:Gradle 任务 assembleDebug 失败,退出代码为 1

【问题讨论】:

    标签: android android-studio flutter gradle


    【解决方案1】:

    作为上传调试符号文件的要求,Android Gradle 插件的版本是 4.1 或更高版本,如本文所述:

    在上传调试符号文件之前,您必须使用 Android Gradle 插件版本 4.1 或更高版本。

    看起来它只会与 Android Studio 4.1 一起提供,因为我可以 现在只能自动获取 Gradle 4.0.0。

    所以我建议你返回经典的 Play 控制台,它会让你 通过:)

    对于 Flutter 方面,实际上有一个 open GitHub ticket 正在被 Flutter 团队监控。

    【讨论】:

      猜你喜欢
      • 2020-10-15
      • 2021-06-10
      • 2022-11-10
      • 2020-12-24
      • 2021-03-24
      • 2021-02-22
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      相关资源
      最近更新 更多