INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device
it means the application which you want to install is already installed. just remove the old one and try again.
Try
adb uninstall package-name
It works for me. I have remove my app using Titanium Backup. However,I think Titanium backup didn't removed my app totally.
Uninstalling the application would be enough to avoid this problem.
INSTALL_FAILED_UPDATE_INCOMPATIBLE
but sometimes even uninstalling the message is raised again, it occurs in Android OS 5.0 +, so this is the solution:
Go to Settings
> Apps
and you will find your app with the message:
We have to uninstall manually for all users!, then we can install our compiled application with no problems.
Another options:
Remove the old application and install again.
Use Android Debug Bridge command:
adb uninstall [PACKAGE NAME]