INSTALL_FAILED_CONFLICTING_PROVIDER with Facebook SDK when I build multiple productFlavors
I'm building an Android app with multiple productFlavors , and using Facebook SDK v4.1 for login and sharing contents. The problem is that when I try to install an app on a device which already has the same app installed (but different flavor), it raises an error. It doesn't allow me to install the second app unless I uninstall the existing one. <provider android:authorities="com.facebook.app.FacebookContentProvider{my_app_id}" android:name="com.facebook.FacebookContentProvider" android:exported="true"/> According to this document , the android:authorities should be unique and I should have