将Firebase升级到新版本后,我得到一个奇怪的行为。
登录后,使用android studio模拟器进入我的firebase,在我更改连接提供程序之前,每件事情都有效,并且在尝试登录时我会收到Firebase.auth.ModuleDescriptor
消息。
更新
现在尝试使用旧的Firebase数据库,我发现我遇到了同样的问题但无法登录,但没有留言。将开始一个关于它的新帖子,并保持原样。 Authentication with old and new Firebase
05-23 12:37:11.386 2792-2901 / com.example.rasmusjosefsson.rjcar E / DynamiteModule:无法加载模块描述符类:未找到 类 " com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" 在路径上:DexPathList [[zip文件 " /data/app/com.example.rasmusjosefsson.rjcar-1/base.apk"],nativeLibraryDirectories = [/数据/应用/ com.example.rasmusjosefsson.rjcar-1 / LIB / x86_64的, / vendor / lib64,/ system / lib64]]
SDK工具 - Google Play服务(第30版)
SDK工具 - Google存储库(第26版)
Android Studio 2.1.1
Google Play服务 - 9.0.80
google-service.json - (oauth_client id,api key,other_platform_oauth_client ...等等)
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
}
**
android {
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.google.maps:google-maps-services:0.1.12'
compile 'com.google.maps.android:android-maps-utils:0.4.3'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.google.android.gms:play-services-ads:9.0.0'
compile 'com.google.android.gms:play-services-maps:9.0.0'
compile 'com.google.android.gms:play-services-ads:9.0.0'
compile 'com.google.android.gms:play-services-auth:9.0.0'
compile 'com.google.android.gms:play-services-gcm:9.0.0'
compile 'com.google.android.gms:play-services-location:9.0.0'
compile "com.google.firebase:firebase-database:9.0.0"
compile 'com.google.firebase:firebase-auth:9.0.0'
compile 'com.firebaseui:firebase-ui-database:0.4.0'
compile 'com.firebaseui:firebase-ui-auth:0.4.0'
}
apply plugin: 'com.google.gms.google-services'