扑动谷歌不可变列表

时间:2018-06-15 05:40:24

标签: firebase-authentication flutter

我使用firebase auth登录用户的电子邮件和密码,以便在创建用户之后使用firebase auth。我不断收到错误消息:

"Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.common.collect.ImmutableList" on path: DexPathList[[zip file "/data/app/com.example.chat5-5I0dEKw0n-K2p_N3OZOtzQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.chat5-5I0dEKw0n-K2p_N3OZOtzQ==/lib/x86, /data/app/com.example.chat5-5I0dEKw0n-K2p_N3OZOtzQ==/base.apk!/lib/x86, /system/lib, /vendor/lib]]" 

我的应用程序崩溃,非常感谢任何帮助, 谢谢。

我猜我需要为不可变列表添加一个依赖,但不确定是什么/哪个

1 个答案:

答案 0 :(得分:0)

发现依赖是"编译(群组:' com.google.guava',名称:' guava',版本:' 18.0' )"放入app level gradle

谢谢