AndroidStudio中运行项目出现Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER

当遇到这样的问题的时候一般问题是问题的关键,如下图。

如上图遇到这个问题一般是因为你 AndroidManifest.xml中的红色部分出现了问题。如下查找你的AndroidManifest.xml如

      android:name="com.umeng.facebook.FacebookContentProvider"

     android:authorities="com.xx.xxx.xx"

     android:exported="true" />

provider中的android:authorities="com.xx.xxx.xx"和其他的安装的应用的名字一样了。

把这个值改了就行了。随便写一个值。 
我这里是因为测试第三方分享平台所以两个apk中的android:authorities的值一样了。

  • 以上是Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER.的内容,更多 FAILED InstallationCONFLICTING PROVIDER Message INSTALL with 的内容,请自己查阅吧。

你可能感兴趣的:(AndroidStudio使用)