I got this error "Installation failed due to: 'INSTALL_FAILED_CONFLICTING_PROVIDER"
See original GitHub issueWhen I updated library to v3.0.0 I got this error “Installation failed due to: 'INSTALL_FAILED_CONFLICTING_PROVIDER”
this error only show when I have two apps use the same lib in my device.
this is my provider:
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.com.vansuita.pickimage.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/picker_provider_paths" />
</provider>
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
INSTALL FAILED CONFLICTING PROVIDER - Stack Overflow
Package couldn't be installed in /data/app/com.company.appname-1 com.android.server.pm.PackageManagerException: Can't install because provider name ...
Read more >Installation fails on Android - CONFLICTING_PROVIDER #750
Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER. It is possible that this issue is resolved by uninstalling an existing ...
Read more >install failed conflicting provider - MSDN - Microsoft
I'm getting below error ... Failure [INSTALLFAILEDCONFLICTINGPROVIDER: Package couldn't be installed ... Can't install because provider name ...
Read more >INSTALL FAILED CONFLICTING PROVIDER - SyntaxFix
Install shows error in console: INSTALL FAILED CONFLICTING PROVIDER ... I've made a slight variation in the program, but when I install my...
Read more >How do I Resolve Error Code -13 When Installing an App
Generally, if a provider conflict occurs when you install an app, it is probably because an existing app has the same ContentProvider.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The error is telling that you provider declared name is “com.vasuita.pickimage.provider” when it really should be “${YourApplicationIdHere}.com.vansuita.pickimage.provider”. Can you redeclare the provider name on you manifest and try again? I recreate your situation, installer 2 apps that your this same lib and both works just fine.
Thank you it works fine.