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

后端 未结 5 844
醉话见心
醉话见心 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:21

    You can solve it by changing the value of android:authorities in your AndroidManifest.xml file. The reason for the error is that another application installed on your device already uses that same value for android:authorities.

提交回复
热议问题