facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 908 forks source link

Manifest merger failed #620

Open Erenner opened 5 years ago

Erenner commented 5 years ago

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.

brayanAP commented 5 years ago

I have the same problem!!!

cristianmgb commented 5 years ago

I have the same problem, i use RN 0.59.6

Julianocarvalho commented 5 years ago

same here

Julianocarvalho commented 5 years ago

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.

carlosricardocm commented 5 years ago

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.

WeTruck commented 4 years ago

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

npm i react-native@0.59.5