【发布时间】:2013-09-03 02:37:49
【问题描述】:
嗨,在我的文件管理器中,我想添加一个选项以在 /system 目录中创建文件夹。我试过这个添加到我的代码中。它不起作用。我做错了什么?
File dir = new File(path + name);
Runtime.getRuntime().exec("su -c \"mount -orw,remount /\"");
Runtime.getRuntime().exec("su -c \"mkdir" + dir.getAbsolutePath + "\"");
【问题讨论】:
标签: android directory root explorer su