未能加载模块描述符类:没有找到类" com.google. android.gms.dynamite.com.google.firebase.auth.moduledescriptor "

时间:2021-12-13 20:56:00

So I am newbie, and I was trying to implement the Email/Password Authentication using Firebase 9.0.0 So the activity perform either the register operation or the login operation.

因此,我是新手,我尝试使用Firebase 9.0.0来实现电子邮件/密码认证,因此活动执行注册操作或登录操作。

The login operation is running smoothly and I can see updates on the Firebase Console. But when I try to register a new user, this error occurs,

登录操作运行顺利,我可以看到Firebase控制台的更新。但是当我尝试注册一个新用户时,这个错误发生了,

E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescri ptor" on path: DexPathList[[zip file "/data/app/deventree.com.thetimothyinitiative- 2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

My device is running Google Play services version 9.0.83.

我的设备运行谷歌游戏服务版本9.0.83。

Android Studio 2.1.1, with Google Play services SDK installed. I have enabled sign in method in the console too.

Android Studio 2.1.1,安装了谷歌Play services SDK。我也在控制台上的方法中启用了sign。

Don't know what I'm missing!

不知道我错过了什么!

3 个解决方案

#1


83  

Alfonso from the Firebase team.

阿方索来自消防基地队。

You can ignore the error E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor": unfortunately there is a bug in Play Services where this is logged as E/ rather than debug. We will deploy the fix on the next release.

您可以忽略错误E/DynamiteModule:加载模块描述符类失败:没有找到类“com.google. android.gms.dynamite.com.google.firebase.auth.moduledescriptor”:不幸的是,在游戏服务中有一个bug被记录为E/而不是debug。我们将在下一个版本中部署补丁。

This should not affect the behavior of your application, if you have an issue, look for the cause somewhere else.

这不会影响应用程序的行为,如果您有问题,请在其他地方查找原因。

#2


15  

Make sure the password you're putting is not less than 6 characters! :)

确保你输入的密码不少于6个字符!:)

#3


1  

I forget this auth=FirebaseAuth.getInstance();

我忘记这auth = FirebaseAuth.getInstance();

It gave me same error and after adding these code helped get rid of from that error.

它给了我同样的错误,并且添加了这些代码帮助我们摆脱了这个错误。

#1


83  

Alfonso from the Firebase team.

阿方索来自消防基地队。

You can ignore the error E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor": unfortunately there is a bug in Play Services where this is logged as E/ rather than debug. We will deploy the fix on the next release.

您可以忽略错误E/DynamiteModule:加载模块描述符类失败:没有找到类“com.google. android.gms.dynamite.com.google.firebase.auth.moduledescriptor”:不幸的是,在游戏服务中有一个bug被记录为E/而不是debug。我们将在下一个版本中部署补丁。

This should not affect the behavior of your application, if you have an issue, look for the cause somewhere else.

这不会影响应用程序的行为,如果您有问题,请在其他地方查找原因。

#2


15  

Make sure the password you're putting is not less than 6 characters! :)

确保你输入的密码不少于6个字符!:)

#3


1  

I forget this auth=FirebaseAuth.getInstance();

我忘记这auth = FirebaseAuth.getInstance();

It gave me same error and after adding these code helped get rid of from that error.

它给了我同样的错误,并且添加了这些代码帮助我们摆脱了这个错误。