Firebase 11.4.2 Proguard错误

时间:2017-11-12 22:45:01

标签: android firebase android-proguard

如果使用minifyEnabled编译,则一切正常。 但我无法使用发布密钥

使用minifyEnabled进行编译
Warning:com.firebase.ui.storage.images.FirebaseImageLoader: can't find superclass or interface com.bumptech.glide.load.model.ModelLoader

Warning:com.firebase.ui.storage.images.FirebaseImageLoader$Factory: can't find superclass or interface com.bumptech.glide.load.model.ModelLoaderFactory
Warning:com.firebase.ui.storage.images.FirebaseImageLoader$FirebaseStorageKey: can't find referenced class com.bumptech.glide.load.Key

Warning:there were 46 unresolved references to classes or interfaces.
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details

JK

1 个答案:

答案 0 :(得分:0)

经过几天的努力,我找到了解决方案。

以前,在gradle中,我使用

const filteredServices = _.filter(services.list, (service) => lists.services.indexOf(service.id) > -1);

因为我只需要ui auth然后我改为

compile 'com.firebaseui:firebase-ui:3.1.0'