Appcompat error with firebase library implementation

放肆的年华 提交于 2019-12-02 13:34:22

Firebase migrated to AndroidX in the latest release. So no more supports for the old support libraries. You have to either downgrade firebase,

implementation 'com.google.firebase:firebase-core:16.0.9'

or migrate your app to use AndroidX as mentioned below.

This release is a MAJOR version update and includes breaking changes. With this release, libraries are migrated from the Android Support Libraries to the Jetpack (AndroidX) Libraries. The updated libraries will not work unless you make the following changes in your app:

Upgrade com.android.tools.build:gradle to v3.2.1 or later.

Upgrade compileSdkVersion to 28 or later.

Update your app to use Jetpack (AndroidX); follow the instructions in Migrating to AndroidX.

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