How to open “adb shell” in context of application being debugged (on non-rooted device)?

后端 未结 3 872
北海茫月
北海茫月 2021-01-03 15:36

When I just run adb shell, I get shell running from uid=2000(shell) gid=2000(shell), without ptrace access to my application.

How to open a

3条回答
  •  攒了一身酷
    2021-01-03 16:12

    Use run-as to switch to your app's UID or run-as to run a single command with your app's UID.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题