today, I looked at the original packaging tools. Learned a bit of technology. Then git found a similar engineering code to study a bit. Think of the tools that make a scripting language a lot faster. And programmers often do not need one after another to pack. For programmers, you just need to use a few lines of code to describe some of the things you do. So it should be said that the repetitive work of the things to write out.
simply learn the principle of packaging tools. is to use a apktool tool to decompress and re-sign the APK. Many of them are packaged using Ant's Packaging tools on GitHub. And I saw a demo that uses this tool to unzip files and re-sign them. The author writes some things out of the configuration file. However, many of the tools on the Web modify the location of the different features are not uniform.
I'm going to envision a tool here.
The tools have been made and put into production.
Androidpackagetool V1.0 Characteristics
1. Support for custom keystore files
2. Support for custom LUA script modification apk file
3. Support Batch modification package. Say goodbye to tedious scripts and manual packaging
4. Support multi-color log output
The production of the company has been used. Because it is a tool for personal spare time. So open source is available. will be uploaded to GitHub in the near future.
Extensible Android Repacking Tool