0

i am working on an app, the app installs fine first time then if i uninstall it from the phone after that the app wont install again until i change package name.

i have tried clearing cache of phone restarting it when installing app using android studio it gives error like application installation failed installed failed conflicting provider

note that the first time app installs fine these issues are when i try to install it again or update it and if i change the package name the app installs fine but then again i wont be able to update it

  • try to disable the Instant Run un the FIle > settings > Build, Execution, Development > Instant Run – jhayjhay Apr 03 '19 at 02:38
  • 1
    Possible duplicate of [Install shows error in console: INSTALL FAILED CONFLICTING PROVIDER](https://stackoverflow.com/questions/16267785/install-shows-error-in-console-install-failed-conflicting-provider) – Faysal Ahmed Apr 03 '19 at 02:39
  • i disabled instant run i doesn't work plus i am making apk and installing apk – Hanan Ahmad Apr 03 '19 at 04:55
  • Possible duplicate of [Installing application and uninstalling does not remove completly - Android Studio](https://stackoverflow.com/questions/39095099/installing-application-and-uninstalling-does-not-remove-completly-android-stud) – Martin Zeitler Apr 06 '19 at 11:59
  • @HananAhmad it might be helpful if you tell us what the actual error message is... because both of the "possible duplicates" may apply, whilst not knowing what that error message is. – Martin Zeitler Apr 06 '19 at 12:01

2 Answers2

1

Except above recommendations, also there may be 2 possible reason for that.

1- Your device has another account (Guest account etc.) and your uninstallation not reflected to other account. You can try:

Settings -> Applications -> Find your application from list and Uninstall

2- If it is Play Protect Error

Open Google Play app -> Click Menu and choose Play Protect -> Try disable scan device and Improve harmful detection
iravul
  • 408
  • 9
  • 15
0

This happened with me too.
I had solved it by disabling instant run.

File > settings > Build, Execution, Development > Instant Run > disable instant run.

Try running your project again.

Mangaldeep Pannu
  • 3,738
  • 2
  • 26
  • 45
Arnab Banerjee
  • 165
  • 1
  • 15