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

后端 未结 5 849
醉话见心
醉话见心 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 22:42

    To solve this error: Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER

    change the value of android:authorities in your AndroidManifest.xml file another application installed on your device already uses that same value for android:authorities.

提交回复
热议问题