解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

本文涉及的产品
公共DNS(含HTTPDNS解析),每月1000万次HTTP解析
云解析 DNS,旗舰版 1个月
全局流量管理 GTM,标准版 1个月
简介: 解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

image.png

程序运行安装不上,提示如上图。


提示是要卸载一个已经存在的application,虽然开发着几个项目,但是包名都不一样,没道理啊。clean、build也都没用。


后来在Stack Overflow上找到回答,大概意思:在AndroidManifest.xml文件中,provider中的android:authorities的值必须是唯一的。多个项目引用同一个类库(Module),就无法同时安装了,因为android:authorities的值是相同的。


经过检查发现,几个项目都引用了友盟的PushSDK,而AndroidManifest.xml中provoder的authorities值还没有改。


只要把applicationId换成自己的包名就好了,这个地方在友盟的官方文档中也有提到。


以此类推,你的项目不一定是PushSDK。

image.png



目录
相关文章
|
缓存 PHP
Composer 报错 Error while processing content unencoding: Unknown failure within ...
Composer 报错 Error while processing content unencoding: Unknown failure within ...
205 0
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
3月前
|
iOS开发 Perl
解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
75 0
|
5月前
|
Linux Go C语言
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
74 0
|
6月前
|
机器学习/深度学习 Java Android开发
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
198 0
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
120 0
|
Java
Error: A JNI error has occurred, please check your installation and try again
Error: A JNI error has occurred, please check your installation and try again
197 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
140 0
|
Shell
遇到INSTALL_FAILED_VERIFICATION_FAILURE怎么办
遇到INSTALL_FAILED_VERIFICATION_FAILURE怎么办
1107 0