android--Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER(解决方案)

来源:互联网 发布:打车软件推广方案 编辑:程序博客网 时间:2024/04/29 16:56

原文出自:http://blog.csdn.net/q_zhe/article/details/7184584


主要是由于调试的环境中已有一个同名的Provider存在。

解决方法是修改AndroidManifest.xml中的

[java] view plaincopy
  1. <provider android:name=".apps.AppProvider"  
  2.             android:authorities="game"  
  3.             android:multiprocess="false"/>  

即将android:authorities的值修改为别的就可以了。

0 0