0

在应用程序消息库实现“com.google.firebase:firebase-inappmessaging-display:17.1.0”和实现“com.google.firebase:firebase-iid:17.1.0”中添加firebase时出现以下错误

错误

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/picasso/OkHttpDownloader;
    at com.google.firebase.inappmessaging.display.internal.injection.modules.PicassoModule.providesFiamController(com.google.firebase:firebase-inappmessaging-display@@17.1.0:52)
    at com.google.firebase.inappmessaging.display.internal.injection.modules.PicassoModule_ProvidesFiamControllerFactory.get(com.google.firebase:firebase-inappmessaging-display@@17.1.0:34)
    at com.google.firebase.inappmessaging.display.internal.injection.modules.PicassoModule_ProvidesFiamControllerFactory.get(com.google.firebase:firebase-inappmessaging-display@@17.1.0:11)
    at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
    at com.google.firebase.inappmessaging.display.internal.FiamImageLoader_Factory.get(com.google.firebase:firebase-inappmessaging-display@@17.1.0:21)
    at com.google.firebase.inappmessaging.display.internal.FiamImageLoader_Factory.get(com.google.firebase:firebase-inappmessaging-display@@17.1.0:8)...
4

1 回答 1

0

我已经解决了我的错误错误是我正在使用 Picasso 库与应用程序消息中发生冲突,所以只需注释掉 Picasso 库并运行。有用。

于 2019-03-06T19:22:57.240 回答