如何只编译 Android 应用程序的资源?
我有一个未签名的 Android 应用程序。它已经编译完毕,我需要更改应用程序图标或应用程序名称,而无需项目编译。如何仅编译资源或将经常更改的参数设置到 RAW 目录中?
I have an unsigned Android application. It`s allready compiled and I need to change app Icon or application name without project compilation. How can I compile only resources or set my often changing params into the RAW dir?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用存档管理器打开并打开 res 文件夹,打开可绘制文件夹删除 icon.png 并将图标拖到该文件夹中。
使用 http://android.amberfog.com/?p=582 反编译您的清单
并更改您的应用程序名称并替换 apk 文件中的清单文件。
open with Archive Manager and open the res folder the open the drawable folder delete icon.png and drag your icon into that folder.
de-compile your manifest using http://android.amberfog.com/?p=582
and change your app name and replace manifest file in your apk file.
尝试 Apktool。
apktool d
解压 .apkapktool b -s
重建 .apk (-s
标志会跳过重新编译代码)。Try Apktool.
apktool d <my-package>
to unpack the .apkapktool b -s <my-package>
to rebuild the .apk (-s
flag skips recompiling the code).