Android Firebase身份验证:未找到com.google.android.gms.crash和com.google.firebase.auth的本地模块描述符类

时间:2017-10-13 13:19:47

标签: android firebase kotlin firebase-authentication

对于我的硕士论文项目,我正在研究Android上的医学诊断应用程序。我在Android Studio 3.0 Beta 7中使用Kotlin。我已经使用Firebase实现了一个身份验证系统,每次我在logcat中运行应用程序时都会收到以下警告:

DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.

DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.

我正在使用电子邮件和密码登录方法。身份验证工作正常,所以我不知道这个警告的起源。我的gradle app文件有:

...
dependencies { 
...
implementation 'com.firebase:firebase-client-android:2.3.1'
implementation 'com.google.firebase:firebase-auth:11.4.2'
implementation 'com.google.firebase:firebase-database:11.4.2'
implementation 'com.google.firebase:firebase-core:11.4.2'
implementation 'com.google.firebase:firebase-crash:11.4.2'
implementation 'com.google.android.gms:play-services-vision:11.4.2'
...
}
apply plugin: 'com.google.gms.google-services'

当然我在Manifest中添加了Internet许可证。我已经尝试了我在SO上看过的不同方法,但没有任何效果:

  • 我有12.55 GB的免费存储空间,因此它与存储空间无关
  • 安装的Google Play服务版本为v.11.5.18
  • 我已清除所有应用数据
  • 添加了额外的库(已在上面列出)
  • 重新启动Android Studio

有什么建议吗?谢谢!

编辑:我在2台设备上测试了这个:Nexus 5与Android 6.0.1和Oneplus 5与7.1.1

0 个答案:

没有答案