[英]Crashlytics issue when updated from com.crashlytics.sdk.android:crashlytics:2.9.8 to 2.9.9
During update of my android app, i updated all dependencies.在更新我的 android 应用程序期间,我更新了所有依赖项。 When i tested the release build, i receive the following error:
当我测试发布版本时,我收到以下错误:
E/CrashlyticsCore: The Crashlytics build ID is missing.
E/CrashlyticsCore:缺少 Crashlytics 构建 ID。
This occurs when Crashlytics tooling is absent from your app's build configuration.
当您的应用程序的构建配置中缺少 Crashlytics 工具时,就会发生这种情况。
Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account.
请查看 Crashlytics 入门说明并确保您拥有有效的 Crashlytics 帐户。
Crashlytics is working fine for my previous release that is currently available on the play store. Crashlytics 在我之前的版本中运行良好,目前可在 Play 商店中使用。
Any help will be appreciated.任何帮助将不胜感激。
UPDATE: October 6, 2020更新:2020 年 10 月 6 日
So a fix is available now for using Crashlytics.因此,现在可以使用 Crashlytics 进行修复。 Follow this link from Firebase
按照 Firebase 中的此链接
https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android
Earlier Accepted Answer.较早接受的答案。 After talking with fabric team, they told me that it is a known issue.
在与面料团队交谈后,他们告诉我这是一个已知问题。 To solve this, we have to include the
apply plugin: 'io.fabric' in the build.gradle file of the app module.
为了解决这个问题,我们必须在 app 模块的 build.gradle 文件中包含apply 插件:'io.fabric' 。 Including this will give the following warning:
包括这将给出以下警告:
WARNING: API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'.
警告:API 'variant.getExternalNativeBuildTasks()' 已过时并已替换为 'variant.getExternalNativeBuildProviders()'。 It will be removed at the end of 2019.
它将在 2019 年底被删除。
You can ignore this warning for now.您可以暂时忽略此警告。 Hopefully a fix for this issue will be provided soon.
希望尽快提供此问题的修复程序。
It is fixed in the latest version, you can update your version with 1.28.0.它已在最新版本中修复,您可以使用 1.28.0 更新您的版本。
buildscript {
// ... repositories, etc. ...
dependencies {
// ...other dependencies ...
classpath 'io.fabric.tools:gradle:1.28.0'
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.