Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permission Denial: runUninstall from pm command asks to run as user -1 but is calling from user 0;

I'm just upgrade my Android device (Samsung J7Pro) to 9.0 (Pie) and when I want to run any application from Android Studio I face to this problem that says:

Permission Denial: runUninstall from pm command asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL.

I have tried to add

INTERACT_ACROSS_USERS_FULL

to my AndroidManifest.xml but get the same error.

Any help?

like image 211
Antares Avatar asked Dec 10 '22 02:12

Antares


1 Answers

I have found the solution

  1. First turn off the developers option
  2. Restart your device
  3. Turn on again your developers option and turn on Usb Debugging
like image 139
Hafez Mehrjoo Avatar answered Feb 13 '23 05:02

Hafez Mehrjoo