如何更新的.apk文件资源 [英] How to update resources file in .apk

查看:406
本文介绍了如何更新的.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.

这篇关于如何更新的.apk文件资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆