"You cannot install this app because another user has already installed an incompatible version on this device"
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"
Note - I've uninstalled the debug version, and also cleared my Cache. Still can't get it to install from Play Store.
My phone is not rooted, so as another similar answer here on stackoverflow suggests, I cannot use a root file explorer to clear data.
Solution 1:
Refer this , Actually your debug version of the app didnt get uninstalled properly
- Go to settings > apps > downloaded app list
- You can see the installed applications in the list (the application may not be in order. or may be towards the very end)
- Click on the application,go to the overflow menu option
- Click on uninstall for all users options
Solution 2:
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.
Solution 3:
In Redmi note3, the debug version of app was got installed on second space.
So Settings->Second space->Go to Second space.
Uninstall the app.
Solution 4:
If using from Android Studio 2.3
(and maybe above versions), at last step of Generate Signed APK
window, in Signature versions:
part, check both check boxes, then click Finish
to generate APK.
Solution 5:
If you are reading this than probably you tried everything (ie. uninstall,clean cache,clean second space etc which you can do in phone) and your problem is still not resolved. I faced the same issue and took me a day to figure it out. But I found solution end of the day. Here is what you have to do.
1.Open your app in android studio
2.Click on gradle
(on right side corner)
3.go to app
->task
->install
->uninstallAll
4.Click on uninstallAll
5.Boom problem solved!!!
For cross platform app such as flutter
If you are coming from cross platform such as flutter or react native, You will not see gradle
menu. To get that
a) go to Android
folder then app
.
b) open build.gradle
file,
c) click on Open for Editing in Android Studio
.
d) you should see gradle
.Now you can follow step 3