更新时间:2022-11-16 19:55:24
参见 https://code.google.com/p/android/issues/detail?id=187003
您的设备需要 root 访问权限,但 chmod 4750/system/bin/run-as
可能会解决问题.
You need root access on your device, but then chmod 4750 /system/bin/run-as
may solve the problem.
如果您没有 root 访问权限,您可以修改您的应用程序,并使用您的包标识启动 LLDB 服务器,使用 Runtime.exec()
.
If you don't have root access, you can modify your app, and start LLDB server with your package's identity, using Runtime.exec()
.