My problem is related to this post
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] even if app appears to not be installed
I am not able to deploy my app on a real device it works properly on the emulator , i get deployment error, but nothing in the errors tab.
This is from build output
2>An error occured. See full exception on logs for more details.
2>The installed package is incompatible. Please manually uninstall and
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
even after uninstalling the app i was not able to deploy my app on my real device , other apps install fine thorough VS.
There is no specific solution available for this problem , i think the reason is your phone OS doesn’t completely uninstall your app, the app signature still lingers on(happens with heavily customized android, in my case its MIUI 8 ).
I found out using logcat – signatures do not match the previously installed version
Potential Solution 1:
Use Titanium Backup (Requires Root) to remove the app folder completely after uninstalling the app.
Potential Solution 2:
Go to settings and remove the app from there , make sure to use the option uninstall for all users(in MIUI 8 this wasn’t available)
Potential Solution 3:
Use adb to uninstall your app completely its same as uninstall for all users.
adb uninstall yourpackagename
Incase you dont know it check in properties of your android solution.
Another way to find it
how to delete an app from adb without knowing it's package name
Then enter adb shell
Find out your apps package name:
pm list packages | grep “your app name/something related to your app
Potential Solution 4:(Not really a Solution)
Change the app package name – wont conflict with the one you have already installed
Note:Doing a hard reset of your device should solve the issue obviously.
In my case 4th option worked, if anyone knows how to remove the previously installed app signature from android please let me know i will update the answer accordingly(probably requires an in-depth knowledge of the file system).
There have a Simple hack
- if a Brand new application – then simply Change Android Package Name and Deploy from VS
- if already play store publish one – then install app through play store and uninstall. then deploy from VS
this Works for me
Go to real device Settings->Apps->All Apps, Now uninstall all the xamarin and mono packages as well as if the Debugging App is there also uninstall it and run again, This solved my same problem.
I know this is an old question, but it could be due to your build configuration. The Release and Debug configurations can and should be different w/r/t manifest entries, etc. I get the ADB0030 error if I try to deploy my Debug configuration. FYI.
I’ve tried to uninstall app and it has disappeared from Finder. However I received this error. Then I’ve used a utility (ie. Service Disabler) and the utility listed the app, then I’ve uninstalled by using utility’s Uninstall menu. All gone.
If you have this problem, that’s simple, if you have an older .apk of your application, then install this .apk, and after you uninstall.
This is the simple solution.
I had the same problem and I solved it by disable ransomware protection in Windows 10
I installed the app from Play Store, and then uninstalled from there. This seemed to remove it correctly from the device.