React-native-fbsdk: Manifest merger failed

Created on 13 Aug 2019  路  6Comments  路  Source: facebook/react-native-fbsdk

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:7:5-117 to override.

Most helpful comment

I solved this problem using an old version of component("react-native-fbsdk": "0.10.1"), I'm on react-native version 0.59.5, I haven't updated react-native to version 0.60 yet. Unfortunately DOC does not provide compatibility information.

All 6 comments

I have the same problem!!!

I have the same problem, i use RN 0.59.6

same here

I solved this problem using an old version of component("react-native-fbsdk": "0.10.1"), I'm on react-native version 0.59.5, I haven't updated react-native to version 0.60 yet. Unfortunately DOC does not provide compatibility information.

Could you please explain more in detail how to do this?

Best

I solved this problem using an old version of component("react-native-fbsdk": "0.10.1"), I'm on react-native version 0.59.5, I haven't updated react-native to version 0.60 yet. Unfortunately DOC does not provide compatibility information.

I was facing the same problem for days. I've fixed it with reverting react-native version a bit.

npm i [email protected]

Was this page helpful?
0 / 5 - 0 ratings