如何更新的.apk文件资源

问题描述:

在创建我的(无符号)apk文件,通过解压缩程序中查看apk文件,当我RES /价值/文件夹中消失。然而,RES /绘项目和RES /布局文件夹显示出来。有没有什么办法,以确保apk文件包含RES /价值/文件夹?

When creating my (unsigned) apk file, my res/values/ folder disappears when viewing the apk file through an unzipping program. However, the res/drawables and res/layout folders show up. Is there any way to ensure the apk file contains the res/values/ folder?

主要使用案例我在位于RES /值取决于客户的需求的资源文件更新各种值。

The main use case I have is updating various values in the resources file located in res/values depending on the customer's needs.

在此先感谢!

这是如预期。值文件夹编译二进制格式,并且无法恢复。如果你需要改变一些东西,那么你需要再次重新打包一切。

This is as intended. The values folder is compile in binary format and you cannot retrieve it. If you need to change something, then you need to repackage everything again.