在Android7中可以使用Runtime().getRuntime().exec()执行shell,在Android 10及以上版本中使用shell就不行了,求解
收起
运行shell命令 是需要root权限的
报告相同问题?