我正在为崩溃报告添加火力基础分析。 虽然 Sycnchronized IM 正在出错
ERROR: In project 'app' a resolved Google Play services library dependency depends on another at an
exact version (e.g. "[17.1.1]", but isn't being resolved to that version. Behavior exhibited by the
library will be unknown. Dependency failing: com.google.firebase:firebase-messaging:17.5.0 ->
com.google.firebase:firebase-iid@[17.1.1], but firebase-iid version was 20.0.2.The following
dependencies are project dependencies that are direct or have transitive dependencies that lead to
the artifact with the issue.
-- Project 'app' depends onto com.google.firebase:firebase-config@16.4.0
-- Project 'app' depends onto com.google.firebase:firebase-messaging@17.5.0
-- Project 'app' depends onto com.google.firebase:firebase-analytics@17.2.2
-- Project 'app' depends onto com.google.firebase:firebase-messaging@{strictly 17.5.0}
-- Project 'app' depends onto com.google.firebase:firebase-config@{strictly 16.4.0}
-- Project 'app' depends onto com.google.firebase:firebase-iid@{strictly 20.0.2}
-- Project 'app' depends onto com.google.android.gms:play-services-measurement-api@{strictly 17.2.2}
-- Project 'app' depends onto com.google.firebase:firebase-analytics@{strictly 17.2.2}
将所有 Firebase 依赖项更新到最新版本。同样在更新后,您需要更新到 androidx 并使用compileSdkVersion
28。
也与firebaseinstanceid
有关,您需要检查以下内容:
现在 FirebaseInstanceId.getInstance((.getToken(( 已被弃用后使用什么