Firebase API initialization failure,java.lang.reflect.InvocationTargetException

烂漫一生 提交于 2019-12-06 09:22:45

You should not include com.google.android.gms:play-services:10.0.1 as a dependency. This adds ALL the Google Play Services APIs to your build and will probably require you to use MultiDex. Instead, follow the directions provided in the Setup Guide in the section titled Selectively compiling APIs into your executable to add as depencies only the specific APIs that you actually use.

Also, the version of the Firebase UI libraries that you include must be compatible with the version of Firebase libraries. The table of compatible versions is include in the Firebase UI documentation. For Firebase APIs version 10.0.1, you should use firebase-ui-storage:1.1.1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!