-
Notifications
You must be signed in to change notification settings - Fork 133
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
INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed #19
Comments
add this in /android/app/src/main/AndroidManifest
|
hey @rishabhj126 ,i think your phone already have an app that uses the same package try to uninstall it and and run your new app . |
This is not a viable solution. |
But both app requires to have same feature then what to do? |
i know that it's not a great solution but it may save a lot of people time, i had the same issue and i solve it this way ,so,just try at the first beginning to remove the old app and test the new one and see if it works for you. |
@rishabhj126 you are facing this issue because the package owner has not handled the FIleProvider properly. I have made some changes and fixed this issue Please follow the below steps, it will resolve your problem: Step 1: In your pubspec.yaml file (remove document scanner and add this)
Step 2: add this in /android/app/src/main/AndroidManifest
Step 3: in your /android/app/build.gradle
|
Trying to install same dependency in two apps gives
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.ysh.sdb--5GF3pMkE5_bKqOwmq56_g==: Can't install because provider name com.scanlibrary.provider (in package com.ysh.sdb) is already used by com.ysh.xzsd] Error launching application on LON AL00.
The text was updated successfully, but these errors were encountered: