Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for generating android application installation package

A technology for application programs and generating devices, applied in software deployment and other directions, can solve problems such as error-prone, frequent, and affecting development efficiency, and achieve the effects of stabilizing code branches, improving packaging efficiency, and facilitating operations

Active Publication Date: 2021-01-15
BEIJING 58 INFORMATION TTECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the development process and release process of the application APK (Android Package, Android installation package) of the Android system, it is necessary to generate an installation package, that is, to pack it, and it is very frequent
Moreover, according to the requirements of actual development and testing, the configuration parameters required each time are different, and corresponding installation packages need to be generated to meet the needs of developers and testers. This is a very cumbersome task, which seriously affects the efficiency of development and extremely error prone
[0003] In the existing technology, the R&D personnel need to pre-determine the server address in the application program according to the test and release requirements, replace the test resources or release resources in the corresponding environment, and re-modify the corresponding configuration parameters every time they are packaged, and then the The built-in packaging plug-in in the IDE (Integrated Development Environment, integrated development environment) completes the packaging, and then performs related tests or product releases. All packaging-related configurations in the above process must be modified in the code by the developer, and the tester cannot Self-operated, both development and testing have brought a lot of inconvenience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating android application installation package
  • Method and device for generating android application installation package

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0033] In the first embodiment of the present invention, a method for generating an Android application installation package, such as figure 1 shown, including the following specific steps:

[0034] Step S101, receiving configuration data for the Android application installation package through the visualization portal;

[0035] Specifically, in step S101, the configuration data of the Android application installation package includes: configuration parameters and interface environment resources;

[0036] The configuration parameters include: interface environment resource option, automated test switch, cache switch, channel number and Android application installation package name; the interface environment resource option includes: test environment, development environment, release environment, pre-online environment .

[0037] Step S102, replacing the corresponding parameters in the Android application program code based on the configuration data;

[0038] Step S103, pack...

no. 5 example

[0057] The fifth embodiment of the present invention is a device for generating an Android application installation package. The device in this embodiment is substantially the same as that in the fourth embodiment. The difference is that the device in this embodiment also includes:

[0058] The gradle script replacement module is used to replace the gradle script module in the Android application code with the canonical gradle script module before the gradle script module performs operations.

[0059] The sixth embodiment of the present invention is a device for generating an Android application installation package. The device in this embodiment is substantially the same as the fourth embodiment. The difference is that the program packaging module 203 of the device in this embodiment also uses Yu: Sign the generated Android application installation package and optimize the code.

[0060] Specifically, the purpose of the signature operation is to encrypt the installation packa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an Android application installation package generation method and apparatus. The method comprises the steps of 1, receiving configuration data for an Android application installation package through a visual entry; 2, replacing corresponding parameters in Android application codes based on the configuration data; and 3, performing packaging by executing a packaging command to generate the Android application installation package. According to the method and the apparatus, the visual entry is provided for receiving the configuration data of the Android application installation package, so that the operation of non research and development personnel such as test personnel and the like in the packaging process is greatly facilitated; and furthermore, scripts can be used for configuring the parameters to realize packaging without code modification by development personnel, so that code branches are stabilized while the packaging efficiency is improved, and the codes are not influenced.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a method and device for generating an Android application installation package. Background technique [0002] During the development process and release process of the application program APK (Android Package, Android installation package) of the Android system, it is necessary to generate an installation package, that is, to package it, and it is very frequent. Moreover, according to the requirements of actual development and testing, the required configuration parameters are different each time, and corresponding installation packages need to be generated to meet the needs of developers and testers. This is a very cumbersome task, which seriously affects the efficiency of development and Extremely error prone. [0003] In the existing technology, the R&D personnel need to pre-determine the server address in the application program according to the test and release re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/61
CPCG06F8/61
Inventor 张志鹏
Owner BEIJING 58 INFORMATION TTECH CO LTD