W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类 [英] W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found

查看:984
本文介绍了W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该项目是通过Firebase的聊天客户端。它开始于我删除我的数据库。我有太多的测试用户,我想清除它的消息。从那以后,它得到了一百万的错误通知 - 试图解决一件事情导致更糟糕的错误。

我在我的项目中有很多不同的错误。我试图用stackoverflow的帮助修复它。但从我的分析 - 这一切都归结于一个错误︰


W / DynamiteModule:com.google.firebase的本地模块描述符类.auth未找到。

我试图连接到完全不同的应用程序的基础上,我尝试重新安排几件事情。没什么帮助。我试图改变谷歌服务的版本。我经历了:

  compile'c​​om.google.firebase:firebase-auth:9.2.1'
compile' com.google.firebase:firebase-auth:9.4.0'
compile'c​​om.google.firebase:firebase-auth:9.8.0'
compile'c​​om.google.firebase:firebase-auth: 10.0.1'

因为我在其他线程中读到这是一个已知的bug,更高版本的谷歌服务。但我不确定它是否有效。我的模拟器只支持9.8.79 Google Play服务,所以以上任何东西都不应该起作用。但是一个溺水的人会抓住一根稻草。



我尝试使用从教程中复制的100%代码创建一个全新的项目。总是得到相同的错误。我认为,如果你从互联网复制代码,它应该都工作。代码没有问题,但是Gradle有些问题。我有一切更新,我再次安装Android Studio。

如果这有帮助,我不能同时打开2个模拟器。第二个是加载然后切换自己off.In安装Android Studio再次不解决这个错误。
$ b

build.gradle(项目)

 依赖项
{
classpath'com.android.tools.build:gradle:2.2.3'
classpath'com.google.gms:google-services:3.0.0'

}

build.gradle(module:app)

  apply plugin:'com。 android.application'

android {
compileSdkVersion 25
buildToolsVersion25.0.2
defaultConfig {
applicationIdcom.example.rachel.komunikator
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName1.0
testInstrumentationRunnerandroid.support.test.runner.AndroidJUnitRunner

buildTypes {
release {
minifyEnabled false
pro guardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}
}

依赖关系{
compile fileTree (dir:'libs',include:['* .jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',{
exclude group :'com.android.support',module:'support-annotations'
})

compile'c​​om.android.support:appcompat-v7:25.1.0'
编译'com.google.firebase:firebase-database:9.8.0'
compile'c​​om.google.firebase:firebase-auth:9.8.0'
compile'c​​om.google.firebase:firebase- core:9.8.0'
compile'c​​om.android.support:recyclerview-v7:25.1.0'

testCompile'junit:junit:4.12'
}


apply plugin:'com.google.gms.google-services'



<使用过滤器firebase的Android监视器

  02-02 23:07:18.374 21212 -21283 / com.example.rachel.komunikator W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类。 
02-02 23:07:18.386 21212-21212 / com.example.rachel.komunikator D / FirebaseApp:com.google.firebase.crash.FirebaseCrash未链接。跳过初始化。
02-02 23:07:18.409 21212-21212 / com.example.rachel.komunikator I / FA:启用更快的调试模式事件记录运行:
adb shell setprop firebase.analytics.debug-mode com.example.rachel.komunikator
02-02 23:07:18.410 21212-21283 / com.example.rachel.komunikator W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类。
02-02 23:07:18.440 21212-21212 / com.example.rachel.komunikator I / FirebaseInitProvider:FirebaseApp初始化成功
02-02 23:07:18.761 21212-21212 / com.example。 rachel.komunikator I / DynamiteModule:考虑到本地模块com.google.android.gms.firebase_database:4和远程模块com.google.android.gms.firebase_database:4
02-02 23:07:18.761 21212-21212 /com.example.rachel.komunikator I / DynamiteModule:选定的远程版本com.google.android.gms.firebase_database,版本> = 4
02-02 23:07:28.891 21212-21283 / com.example .rachel.komunikator W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类。
02-02 23:07:56.907 21212-21283 / com.example.rachel.komunikator W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类。
02-02 23:07:56.914 21212-21283 / com.example.rachel.komunikator W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类。
02-02 23:07:57.607 21212-21224 / com.example.rachel.komunikator D / FirebaseAuth:通知侦听者有关用户(lK8BXh5JpGQn3Mkq3hLpl6UWNru1)。

Android监视器所有错误堆栈



Android监视器全部错误堆栈 - 不同的模拟器

解决方案

我今天遇到同样的问题。正如他们所说这里 a>,这只是一个不影响任何内容的调试日志。当我试图创建一个用户,我看到了同样的事情。原因是我输入了4个字符的密码。我已经尝试了8个字符(我猜6就够了),问题解决了。

The project is a chat client through Firebase. It started when I deleted my database. I had too many test users, messages I wanted to clear it. Since then, it gets a million error notifications - trying to fix one thing leads to even worse errors.

I had a lot of different errors in my project. I tried to fix it with the help of stackoverflow. But from what I analyzed - it all comes down to an error:

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

I tried to connect to the application completely different base, I tried to re-arrange a few things. Nothing helps. I tried to change versions of google-services. I went through:

compile 'com.google.firebase:firebase-auth:9.2.1'
compile 'com.google.firebase:firebase-auth:9.4.0'
compile 'com.google.firebase:firebase-auth:9.8.0'
compile 'com.google.firebase:firebase-auth:10.0.1'

Because I read in other threads that this is a known bug that was repaired in a higher version google-services. But I'm not sure if it works. My emulator supports only 9.8.79 Google Play Services so anything above that should not work. But a drowning man will clutch at a straw.

I tried to create a completely new project with the code 100% copied from the tutorial. Always gets the same error. I think that if you copy the code from the internet it should all work. There is nothing wrong with the code, but something is wrong with Gradle. I have everything updated, I installed again Android Studio.

If this helps, I can not turn on the 2 emulators at the same time. The second is then loaded then switches itself off.Installing Android Studio again not fix this error.

build.gradle (project)

dependencies 
{
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath 'com.google.gms:google-services:3.0.0'

    }

build.gradle (module:app)

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    defaultConfig {
        applicationId "com.example.rachel.komunikator"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })

    compile 'com.android.support:appcompat-v7:25.1.0'
    compile 'com.google.firebase:firebase-database:9.8.0'
    compile 'com.google.firebase:firebase-auth:9.8.0'
    compile 'com.google.firebase:firebase-core:9.8.0'
    compile 'com.android.support:recyclerview-v7:25.1.0'

    testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services'

Android Monitor with filter "firebase"

02-02 23:07:18.374 21212-21283/com.example.rachel.komunikator W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-02 23:07:18.386 21212-21212/com.example.rachel.komunikator D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
02-02 23:07:18.409 21212-21212/com.example.rachel.komunikator I/FA: To enable faster debug mode event logging run:
                                                                      adb shell setprop firebase.analytics.debug-mode com.example.rachel.komunikator
02-02 23:07:18.410 21212-21283/com.example.rachel.komunikator W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-02 23:07:18.440 21212-21212/com.example.rachel.komunikator I/FirebaseInitProvider: FirebaseApp initialization successful
02-02 23:07:18.761 21212-21212/com.example.rachel.komunikator I/DynamiteModule: Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:4
02-02 23:07:18.761 21212-21212/com.example.rachel.komunikator I/DynamiteModule: Selected remote version of com.google.android.gms.firebase_database, version >= 4
02-02 23:07:28.891 21212-21283/com.example.rachel.komunikator W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-02 23:07:56.907 21212-21283/com.example.rachel.komunikator W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-02 23:07:56.914 21212-21283/com.example.rachel.komunikator W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-02 23:07:57.607 21212-21224/com.example.rachel.komunikator D/FirebaseAuth: Notifying listeners about user ( lK8BXh5JpGQn3Mkq3hLpl6UWNru1 ).

Android Monitor All error stack

Android Monitor All error stack - different emulator

解决方案

I've encountered the same issue today. As they say here, it was just a debug log which doesn't affect anything. While i was trying to create a user, i saw the same thing. The reason was that I was entering 4-char password. I've tried with 8 characters (I guess 6 is enough), problem solved.

这篇关于W / DynamiteModule:未找到com.google.firebase.auth的本地模块描述符类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆