The invention relates to an integrated automatic packaging method for Android system. It includes the following steps: (1) Android system obtains the latest APP code from SVN server; (2) generates signatures for APP code; (4) sets the name and version information of APP; (4) replaces the icon of APP and starts LOGO; (5) APP code to be acquired from, signatures generated from (2), and (3) designs. App name and version information, APP icon replaced by App 4, and start LOGO integration automatic packaging, which is generated as the App client installation package. The integrated automatic packaging method of the Android system of the present invention encapsulates parameters on the server side (JAVA) and then invokes Python scripts to realize integrated automatic packaging in combination with multiple languages. Compared with the traditional packaging method of installation package, the packaging method of the present invention adopts the system configuration as input parameters and the whole process of automatic packaging. In this way, the packaging can be completed conveniently and quickly with high efficiency and low error rate.
【技术实现步骤摘要】
一种Android系统一体化自动打包方法
本专利技术涉及一种Android系统安装包打包方法,具体地说是涉及一种Android系统一体化自动打包方法。
技术介绍
现有的安装包打包技术需要在每次打包之前,针对不同产品不同版本,手工修改配置文件(APP名称,版本等信息),上传签名文件,才能进行打包操作。这种方法效率低下,并且可能因为是人工操作容易遗漏、信息不对称导致打包失败。
技术实现思路
针对现有技术之不足,本专利技术提供了一种Android系统一体化自动打包方法。本专利技术的Android系统一体化自动打包方法的技术方案如下:一种Android系统一体化自动打包方法,其包括以下步骤:步骤S1:Android系统从SVN服务器获取最新的APP代码;步骤S2:对APP代码生成签名;步骤S3:设定APP名称及版本信息;步骤S4:替换APP图标及启动LOGO;步骤S5:将从步骤S1获取的APP代码、步骤S2生成的签名、步骤S3设定的APP名称及版本信息和步骤S4替换的APP图标及启动LOGO一体化自动打包,生成为App客户端安装包。本专利技术的Android系统一体化自动打包 ...
【技术保护点】
1.一种Android系统一体化自动打包方法,其特征在于,其包括以下步骤:步骤S1:Android系统从SVN服务器获取最新的APP代码;步骤S2:对APP代码生成签名;步骤S3:设定APP名称及版本信息;步骤S4:替换APP图标及启动LOGO;步骤S5:将从步骤S1获取的APP代码、步骤S2生成的签名、步骤S3设定的APP名称及版本信息和步骤S4替换的APP图标及启动LOGO一体化自动打包,生成为App客户端安装包。
【技术特征摘要】
1.一种Android系统一体化自动打包方法,其特征在于,其包括以下步骤:步骤S1:Android系统从SVN服务器获取最新的APP代码;步骤S2:对APP代码生成签名;步骤S3:设定APP名称及版本信息;步骤S4:替换APP图标及启动LOGO;步骤S5:将从步骤S1获取的APP代码、步骤S2生成的签名、步骤S3设定的APP名称及版本信息和步骤S4替换的APP图标及启动LOGO一体化自动打包,生成为App客户端安装包。2.根据权利要求1所述的Android系统一体化自动打包方法,其特征在于,还包括:步骤S6:将所述步骤S5生成的App客户端安装包上传至服务器并生成下载二维码。3.根据权利要求1或2所述的Android系统一体化自动打包方法,其特征在于,在所述步骤S1中,从SVN服务器获取最新的App代码的方式为:S11,首先判断存放代码的目录是否存在,若不存在则创建存放代码的目录并从SVN服务器上checkout代码;若存放代码的目录存在,则进行下一步骤S12;S12,判断存放代码的目录是否是SVN服务器的目录,若是则update,若否则checkout。4.根据权利要求1或2所述的Android系统一体化自动打包方法,其特征在于,在所述步骤S2中,对APP代码生成签...
【专利技术属性】
技术研发人员:罗奔,
申请(专利权)人:珠海宏桥高科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。