Firebase 11.4.2 Proguard 错误
Firebase 11.4.2 Proguard Error
如果使用 minifyEnabled false 编译一切正常。
但是我不能用 minifyEnabled true 和 release key
编译
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
经过几天的努力,我找到了解决办法。
以前,在gradle中,我使用
compile 'com.firebaseui:firebase-ui:3.1.0'
因为我只需要ui auth 然后我改成
compile 'com.firebaseui:firebase-ui-auth:3.1.0'
如果使用 minifyEnabled false 编译一切正常。 但是我不能用 minifyEnabled true 和 release key
编译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
经过几天的努力,我找到了解决办法。
以前,在gradle中,我使用
compile 'com.firebaseui:firebase-ui:3.1.0'
因为我只需要ui auth 然后我改成
compile 'com.firebaseui:firebase-ui-auth:3.1.0'