I'm facing a strange problem with android studio. I have two Android app that uses facebook sdk with same facebook Application for login and share pictures. With new api, it's necessary to declare inside manifest this:
<provider android:authorities="com.facebook.app.FacebookContentProvider[app_id]"
android:name="com.facebook.FacebookContentProvider"
android:exported="true"/>
Now if one of that app is already installed on device and i try to install the second one, i obtain this error on Android studio:
INSTALL_FAILED_CONFLICTING_PROVIDER
It's necessary a problem of facebook provider, that is the only element inside my app. So, in this way my two apps couldn't be installed at the same time on the same device? I would like if there's a way for use same provider and avoid that error.
ContentProvider
inDebug
versions. Still researching the problem. Of course this will disable sharing capabilities for that version. – Barnyard