This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想从我的应用程序运行一些 shell 命令,但是当我运行时: Process process = Runtime.getRuntime().exec(su); 我有一个错误:su: uid XXXXX not allowed to su. 我不明白为什么,因为我认为我的手机植根于 adb shell su 正在工作。有谁知道我错过了什么?