Trying to install my own app from play store, it says \"You cannot install this app because another user has already installed an incompatible version on this device\"
Since lollipop it looks like the app preferences are associated with the signing key. Since the debug version of the app uses a different signing key, you have to completely uninstall the old debug app, including data.
To do this:
Note - most of this information is the same as another answer by Preethi Rao but my edits have been rejected - also I have zero reputation so cannot actually comment.
Honor Device Solution
I needed to uninstall it from private space too. You can open private space from
Setting > Security & Privacy > Private Space
Then open private space, and go to setting>apps then delete app from there.
Likely you have a framework that has to install with your app, and that is what is actually erring. If you use xamarin, phone gap or any other development platform, make sure to go to installed apps and uninstall the framework.
I have seen this very often with Xamarin
For my case, since I installed "Workspace" from google, the old app was installed inside the workspace. So, I need to go to "Workspace" then uninstall that old app from there first. Hope it helps :)
If you are a developer. Goto adb terminal and do adb uninstall "package name of the app"
In my case I wasn't able to see the application in settings > apps > downloaded app list because I have already tried to uninstall it.
What worked for me was: adb shell pm uninstall com.packagename
I think my problem was because somehow I had installed the app on the Primary and Guest user and couldn't uninstall them from neither one.