# ApkCustomizationTool **Repository Path**: zrw_git/ApkCustomizationTool ## Basic Information - **Project Name**: ApkCustomizationTool - **Description**: apk多渠道打包定制工具 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 39 - **Created**: 2023-11-24 - **Last Updated**: 2023-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: 多渠道打包 ## README # ApkCustomizationTool [![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) apk定制工具,用于渠道打包等自定义apk。此工具使用JavaFX开发需要JDK1.8的支持。
此工具适合渠道及相关人员!(不懂编程概念的相关人员)
注意:请在环境变量里面配置好`jarsigner`签名工具和`zipalign`优化工具
可运行文件在jar里面, 双击即可! ### 功能 |功能|说明| |----|----| |`res`图片资源替换|选择资源文件夹, 资源文件夹的格式和开发的格式一样。替换的文件及格式也要一样。选中res文件夹即可![image](https://github.com/SSOOnline/ApkCustomizationTool/raw/master/screenshot/0.png)| |修改`AndroidManifest.xml`中的``|修改的``信息请在`data.xml`文件下配置| |修改`string.xml`和`bools.xml`|修改信息请在`data.xml`文件下配置| |其他功能正在按需求完善|| ### 配置 |文件|说明| |----|----| |`data.xml`|配置渠道`channel`
配置产品名称`product`
配置打包人员`person`
配置要修改`AndroidManifest.xml`的`meta_data`信息
实现`resource`中`string.xml`和`bools.xml`的修改
详情请查阅`data.xml`中的注释| |`singer.properties`|配置签名文件位置、alias、password| ### 说明 版本号开始数为`100000000`,前三位是大版本号,中间三位为中版本号,后面三位为小版本号,版本填写规则为`x.x.x`如·6.0.0·,每一位不能大于100并且是纯数字。
如果要修改自己的版本升级策略求修改源码`Command.java`中的`getVersionCode`方法。 #### 编译 此项目结构在`IntelliJ IEDA`中直接运行。在运行之前请确认使用JDK8。 #### 截图 ![image](https://github.com/SSOOnline/ApkCustomizationTool/raw/master/screenshot/1.png) ![image](https://github.com/SSOOnline/ApkCustomizationTool/raw/master/screenshot/2.png) ### 感谢以下项目 [Apktool](http://ibotpeaches.github.io/Apktool/)
[dom4j]() # [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)