权限被拒绝:pm命令的runUninstall from要求以用户-1的身份运行,但正在从用户0调用; [英] Permission Denial: runUninstall from pm command asks to run as user -1 but is calling from user 0;

查看:1175
本文介绍了权限被拒绝:pm命令的runUninstall from要求以用户-1的身份运行,但正在从用户0调用;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是将Android设备(Samsung J7Pro)升级到9.0(Pie),当我想从Android Studio运行任何应用程序时,我会遇到这个问题:

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:

权限被拒绝:pm命令中的runUninstall要求以用户-1身份运行 但正在从用户0呼叫;这需要 android.permission.INTERACT_ACROSS_USERS_FULL.

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.

我尝试添加

INTERACT_ACROSS_USERS_FULL

到我的AndroidManifest.xml,但出现相同的错误.

to my AndroidManifest.xml but get the same error.

有帮助吗?

推荐答案

我找到了解决方法

  1. 首先关闭开发人员选项
  2. 重新启动设备
  3. 再次打开您的开发人员选项,然后打开USB调试

这篇关于权限被拒绝:pm命令的runUninstall from要求以用户-1的身份运行,但正在从用户0调用;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆