0
我在firebase上設置了聊天工具,它工作正常。但是當我添加map
時,聊天停止了工作。聊天+地圖= NoSuchMethodError:com.google.firebase.FirebaseApp.zzUV
,當我試圖在應用程序中打開聊天我得到的錯誤
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoSuchMethodError: com.google.firebase.FirebaseApp.zzUV
我的依賴關係:
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 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:2.1.0'
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.android.support:design:25.1.1'
compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.firebaseui:firebase-ui:1.2.0'
compile 'com.google.android.gms:play-services-maps:10.2.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:multidex:1.0.1'
}
allprojects {
repositories {
// ...
maven { url 'https://maven.fabric.io/public' }
}
}
不,它不起作用 –
這是什麼顯示相同的錯誤?請發佈新的* Logcat *。 –
謝謝。但是,你的版本太舊了,我已經設置了10.0.1,它正在工作。 –