如何编辑.APK文件中的清单

Col*_*old 6 android android-manifest

有人知道只编辑apk文件中的清单等脚本的方法吗?我需要在脚本中粘贴一些行..

小智 8

我挖了几个小时。这是我最终使用的工具: https: //github.com/WindySha/ManifestEditor

我必须针对不同的环境使用略有不同的 AndroidManifest.xml 设置。使用 apktool 反编译和再次编译确实会减慢 CI/CD 进程,因此 ManifestEditor 是救星。它基于AXMLEditor


dav*_*off 4

存在用于反编译然后重建 APK 的工具,例如 apktool:http://ibotpeaches.github.io/Apktool/

  • 但这个工具有缺陷,并且不能反编译所有 APK,而且缺陷多年来都没有得到修复。还有其他选择吗? (8认同)