且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法解决com.google.firebase:firebase-crash:17.0.2

更新时间:2022-12-10 09:02:28

您需要更新***build.gradle才能使用最新版本的google services插件.看来您使用的是一个非常老的版本,仍然假定所有Firebase和Play依赖项必须是同一版本,而不再是这种情况.

You need to update your top-level build.gradle to use the latest version of the google services plugin. It looks like you're using a very old one that still assumes that all the Firebase and Play dependencies must be the same version, which is no longer the case.

classpath 'com.google.gms:google-services:4.1.0'

您应该熟悉文档中的最新集成说明以及每个依赖项的最新版本.

You should familiarize yourself with the latest integration instructions in the documentation, along with the latest versions of each dependency.

此外,您应该停止使用Firebase崩溃报告,并迁移到 Crashlytics .Firebase崩溃报告已停用.

Also, you should stop using Firebase Crash Reporting and migrate to Crashlytics. Firebase Crash Reporting is decommissioned.