Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER.

来源:互联网 发布:什么值得买 类似 知乎 编辑:程序博客网 时间:2024/05/17 23:27

安卓新的apk出现这个错误
这里写图片描述

这是因为你 AndroidManifest.xml中的

<provider            android:name="com.umeng.facebook.FacebookContentProvider"            android:authorities="com.facebook.app"            android:exported="true" />

provider中的

 android:authorities="com.facebook.app"

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

阅读全文
0 0
原创粉丝点击