Reputation: 5655
I got a strange issue in few of my recent applications.
What I did:
Problem:
Android Studio Version : 2.1.3
Min SDK in Manifest : 17
Devices Tested : Nexus 4 , OnePlus 3 , Motorolla Gen-3 , Honor
Different Trials Made:
Device is having only one user Owner
Upvotes: 6
Views: 14944
Reputation: 7394
In Android there is multiuser environment came from Android 4.2,
So when there are multiple user accounts present on the device, and if one user installs the app, it get's installed for all users.
Though when you uninstall it from your user, it's still present in other user.
So it shows that message:NOT INSTALLED FOR THIS USER
To solve this problem, there's are three ways, you can try any one feasible to you:
1. You need to login to that user environment and uninstall the app.
2. Uninstall for all users(you need to be admin user) Go to Settings > Apps, find and open the app info. Then, open the overflow menu (3 vertical dots), and choose Uninstall for all users.
3. You can uninstall app for all users from PC using adb command: adb uninstall on command prompt/shell.
Upvotes: 7
Reputation: 4328
If you have multiple users on your device, which means that the apps are installed by another user,and while you uninstall app the default account is another than this issue occurs
Try this
(from Owner account) Go to Settings > Apps, find and open the app info. Then, open the overflow menu (3 vertical dots), and choose Uninstall for all users.
(from PC) Enter adb uninstall on command prompt/shell. This is the same as "uninstall for all users"
Upvotes: 1