“You cannot install this app because another user

2019-01-21 03:38发布

问题:

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.

回答1:

Refer this , Actually your debug version of the app didnt get uninstalled properly

  1. Go to settings > apps > downloaded app list
  2. You can see the installed applications in the list (the application may not be in order. or may be towards the very end)
  3. Click on the application,go to the overflow menu option
  4. Click on uninstall for all users options


回答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.



回答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.



回答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.



回答5:

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:

  1. Open settings.
  2. Choose app.
  3. Is should default to the downloaded app list in alphabetical order.
  4. You will find the uninstalled applications are not in alphabetical order but actually at the bottom of the list.
  5. Click on the application
  6. Choose 'Clear Data'

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.



回答6:

Tried to check the above solutions but didn't help me.

Finally I followed the below steps to over come on My device( Asus Zenfone 2)

Settings> Users> 1. Owner 2. Guest

Clicked on Guest> Playstore> Uninstall the application(Option came up once you search for that application)

After un-installing went back to Owner(User) from Guest. Was able to install the application successfully.



回答7:

This is my solution for my Meizu pro 6.

Settings -> Fingerprint and security -> Guest Mode -> Clear guest data



回答8:

Update to Preethi Rao's Answer.

From Android O this option is available under

Settings > Apps & Notifications > App info

There you can see your uninstalled debuggable app with label Not installed for this user.

You can open it now, and you can see triple vertical dot in top right corner.

In that there is option Uninstall for all users. By taping it you can uninstall the app completely.



回答9:

For Redmi or Mi Phones, the debug app was got installed on second space.

  1. Go To Setting -> Second Space -> Open Second Space.

  2. Settings -> App - > downloaded app list.

  3. Click on the application, You want to Uninstall.
  4. Click on Uninstall.
  5. Back to First space from setting.

android redmi redminote3 app



回答10:

Just change your profile to guest or another if you have then uninstall it from all other users.

And Voila ! ;)



回答11:

In Android API 25+

Steps (Stock android os) :

Settings-> Storage ->Other Apps-> -> clear cache and data ->press "i" icon -> App Info open -> click right side on action bar -> press "Uninstall for all users"

now app is uninstall and install your apk, your app is able to install...

Happy Release :)



回答12:

On Samsung Galaxy TAB S2, Android 7.0, after clicking on setting -> Apps and then clicking on the app for which the error was displayed, I clicked on the 3 dots at the top right and there is an option there "uninstall of all users"



回答13:

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



回答14:

In Android Lollipop there are user, so this message mean that you need to switch the user and uninstall the app from all the users in the device...

See in Settings->Users



回答15:

In my case, I couldn't install the app because I had it installed on a different user on the device. So deleting the app from that user fixed the problem on my end



回答16:

The existing app should be un-installed by going to settings-> Apps->...you may find the message that "this application is not installed for this user". Such apps can not be installed in the current user. If that is the case then, change the user/profile and then try to uninstall the app.



回答17:

For Updated Android Studio 2.3 or upcoming...

  1. Build > Generate Signed apk.
  2. Create Keystore path.
  3. Put Password, alias, key password.
  4. Build type select accordingly(eg to release in playstore use release).
  5. Signature Version select both V1 and V2 checkboxes.
  6. after you click on Finsih.
  7. Wait for gradle building.
  8. After gradle build Android Studio will show you a notification to open the apk location explorer.
  9. Go to explorer where you selected for the apk to store and you will see your .apk file name as app-release.apk use it.

Hope this will solve your issue.



回答18:

If you are a developer. Goto adb terminal and do adb uninstall "package name of the app"



回答19:

If You Know Android Development

Then you can simple uninstall this app by adb.

adb uninstall packagename exa: adb uninstall com.sdcardprefer

Here com.sdcardprefer is packagename.

This adb command remove incompatible version of the app that install in your devices.



回答20:

I had this issue on a Xiaomi device when i had a debug APK previously installed and try to install the release one from playstore. Even after uninstalling the app, playstore still showed that error, i reeboted cleared cache, but everything got failed. At last i found the solution by going through playstore settings -> my apps and notifications -> library -> where you can see all your installed files directory. Remove your app from that list and try again. Now the error will be gone.



回答21:

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 :)