Manifest merger failed : Attribute application@appComponentFactory updating Firebase libraries

前端 未结 6 1027
孤街浪徒
孤街浪徒 2020-11-30 10:56

I am trying to add firebase in my project but when I implement \'com.google.firebase:firebase-messaging:19.0.0\' and \'com.google.firebase:firebase-core:1

6条回答
  •  悲哀的现实
    2020-11-30 10:56

    28.0.0 was the last version of the original support libraries and these are no longer maintained. All functionality which was present in the support libraries is now a part of the AndroidX namespace and Google recommends that you move to AndroidX.

    In Android Studio 3.2 and higher you can migrate by doing a Refactor->Migrate to AndroidX

    However note that there may be some changes that you may have to do manually if you've specialized your configuration.

    Here's a video on the topic and the official documentation

提交回复
热议问题