我收到以下错误
所有gms / firebase库必须使用完全相同的版本 规范(混合版本可能导致运行时崩溃)。找到了 版本17.3.0、17.0.0、16.0.1、16.0.0、15.0.1。
我的Firebase消息传递依赖性为:
implementation 'com.google.firebase:firebase-messaging:17.3.0'
,类路径为:
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.gms:google-services:4.0.1'
如何解决这个问题?
答案 0 :(得分:1)
正如我所说的Here,如果使用以下版本,则将解决此问题:
implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-messaging:17.3.2'