如何在android系统目录R / W文件(内部存储) [英] How to R/W file in android system directory (Internal Storage)
问题描述
- 我要创建Android系统文件夹中的文件。
-
我也尝试过这种安装邻RW,重新安装-t YAFFS2
为/ dev /块/ mtdblock3 /系统使用调用Runtime.getRuntime()。EXEC(),但
它不工作。
- I want to create the file in android system folder.
I have also tried this "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" using Runtime.getRuntime().exec() but it's not working.
如果你有例子,请让我知道。
谢谢
if you have example please let me know. Thanks
推荐答案
Android应用程序为根
未修改的设备上没有运行,因此它们不能写入 /系统
文件夹或重新挂载文件系统。
Android applications don't run as root
on an unmodified device so they can't write to the /system
folder or remount file systems.
你为什么要写信给 /系统
?你应用的哪些是错的存储目录?
Why do you want to write to /system
? What's wrong the the storage directory for you app?
这可能是扎根的Android设备但是这排除了广大用户的
This may be possible on a "rooted" Android device but this rules out the majority of users.
这篇关于如何在android系统目录R / W文件(内部存储)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!