Android Facebook content provider authority

后端 未结 4 438
渐次进展
渐次进展 2020-12-31 01:14

I\'m developing an app with (at least) two flavors having different package names - therefore actually two different apps as far as the android system is concerned. The app

4条回答
  •  时光说笑
    2020-12-31 01:57

    I was able to solve this by having separate manifests for my debug and release flavors and in my debug flavor manifest, I added the snippet for the provider but set the exported value to false. In my release flavor manifest, I have the original provider snippet with exported set to true.

    After I did this, I no longer got the INSTALL_FAILED_CONFLICTING_PROVIDER error.

    
    

提交回复
热议问题