且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将文件复制到文件夹资产

更新时间:2022-11-05 12:12:01

其实, Android的.apk文件的行为是只读这样的目录结构是在apk文件遵循同样的,因此,没有人可以写这个文件或在运行时进行更改,这就是为什么你不能在运行时使 /资源文件夹 A的变化。你可以从中读取文件(手段复制其在资产,任何内部存储可用 / SD卡 但它写到反之亦然

Actually, The behaviour of the android .apk file is read only so the directory structure which are in that apk file follows the same, So no one can write this files or make changes on that at runtime,that's why You can't make a changes in /asset folder at runtime. you can read file from it (means copy files which are available in asset to any internal storage or /sdcard but not write it to vice-versa)

其应用在所有这是建立的apk文件的目录。根据文档。

Its apply on all the directories which are build in .apk files. As per docs.