使用 play-services-xxx:9.8.00 后 Firebase 错误无法访问 zzanb [英] Firebase Error cannot access zzanb after using play-services-xxx:9.8.00
问题描述
当我使用最新版本的 com.google.android.gms:play-services-xxx:9.8.00 时收到以下消息
I got the below message when I use newest version of com.google.android.gms:play-services-xxx:9.8.00
Error:(32, 28) 错误:无法访问zzanb找不到 com.google.android.gms.internal.zzanb 的类文件
错误是由调用语句引起的:FirebaseAuth.getInstance().getCurrentUser().getUid();
The error was caused by invoking statement:
FirebaseAuth.getInstance().getCurrentUser().getUid();
我该如何解决这个问题?谢谢.
How can I fix this problem? Thank you.
更新:问题已解决
firebase 9.8.0 版的最新更新与 google-service 9.8.0 版兼容.现在,一切正常.
The newest updated of firebase version 9.8.0 is compatible with the google-service version 9.8.0. Now, everything works correctly.
注意:Firebase 和 Google Play 服务始终具有相同的版本.@see Ian Barber 在下面的评论.
NOTE: Firebase and Google Play Sevice always have same version. @see Ian Barber's comment below.
推荐答案
9.8.0 是一个意外的早期版本.请不要使用它!如果您碰巧在 10 月 22 日至 23 日这个周末更新了您的 Android 工具,则您可能不小心收到了此更新.要删除它,只需卸载并重新安装 Google 存储库工具.
9.8.0 was an accidental early release. Please don't use it! If you happened to update your Android tools over the weekend of October 22-23, you may have accidentally received this update. To remove it, simply uninstall and reinstall the Google Repository tool.
这篇关于使用 play-services-xxx:9.8.00 后 Firebase 错误无法访问 zzanb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!