Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

两个APP同时使用了这个依赖,无法同时安装在一台设备中 #5

Closed
liqieli opened this issue Mar 6, 2017 · 6 comments

Comments

@liqieli
Copy link

liqieli commented Mar 6, 2017

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.zhuan.duoladriver-1: Can't install because provider name com.allenliu.versionchecklib.versionProvider (in package com.zhuan.duoladriver) is already used by com.XXX]

@AlexLiuSheng
Copy link
Owner

使用最新的1.0.3 compile 'com.allenliu.versionchecklib:library:1.0.3'

@liqieli
Copy link
Author

liqieli commented Mar 6, 2017

使用的就是1.0.3版本,跟使用了同样的provider有关系,导致无法安装

@AlexLiuSheng
Copy link
Owner

由于适配了androidN 所以使用到了FileProvider 你那个冲突,之前已经解决了,按理来说不会在出现这个问题了。
请问是你另外依赖的库( is already used by com.XXX]包名具体是什么)和本库的冲突 还是当前项目与本库的冲突
如果是当前项目可以试着在application里加上
tools:replace="android:authorities"

@liqieli
Copy link
Author

liqieli commented Mar 6, 2017

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.zhuan.duoladriver-1: Can't install because provider name com.allenliu.versionchecklib.versionProvider (in package com.zhuan.duoladriver) is already used by com.zhuan.duola_tong]

@AlexLiuSheng
Copy link
Owner

compile 'com.allenliu.versionchecklib:library:1.0.4' 解决了

@AlexLiuSheng
Copy link
Owner

compile 'com.allenliu.versionchecklib:library:1.0.4' 解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants