Content Provider INSTALL_FAILED_CONFLICTING_PROVIDER (installing content provider as a separate apk)

后端 未结 5 833
醉话见心
醉话见心 2020-12-04 21:42

I have two applications which use the same content provider, but I can\'t put the same content provider in both applications- it shows INSTALL_FAILED_CONFLICTING_PROVIDER er

5条回答
  •  眼角桃花
    2020-12-04 22:39

    You use one unic data like Facebook API registration numer or something like it in your manifest file (AndroidManifest.xml) for both programs: for which already installed and for that you try and cant install. You need:

    1. Try to find something like this and check is it for your current program:

    android:authorities="com.facebook.app.FacebookContentProvider23473465463573466" android:name="com.facebook.FacebookContentProvider" android:exported="true"/>

    1. Check if is not dublicate in another programs if it is for program you trying to install.

提交回复
热议问题