CN108279912A - The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium - Google Patents
The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium Download PDFInfo
- Publication number
- CN108279912A CN108279912A CN201810065060.XA CN201810065060A CN108279912A CN 108279912 A CN108279912 A CN 108279912A CN 201810065060 A CN201810065060 A CN 201810065060A CN 108279912 A CN108279912 A CN 108279912A
- Authority
- CN
- China
- Prior art keywords
- installation kit
- custom
- custom attributes
- file
- android
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
A kind of more Custom Attributes installation kit automatic generation methods of Android, system and its computer readable storage medium, the order line generating mode for the single installation kit that the method is provided using official automatically generates multiple installation kits customized on demand, the customization on demand is presented as the more Custom Attributes for identifying flavor (including by all kinds of means, multi-connection server, multi-service type etc.) write-in listing file, then a custom property name is read every time and replaces original Custom Attributes configuration code in engineering code, the installation kit of customization is generated by the above method.The installation kit automatic generation method completes many operations for needing manual modification using full-automatic flow instead of manpower, greatly improves efficiency, and avoids mistake that manual modification may be brought and liberated manpower.
Description
Technical field
The present invention relates to Android Android APP installation kits to be packaged field, and in particular to a kind of more Custom Attributes of Android
Installation kit automatic generation method, system and storage medium.
Background technology
The invention belongs to the necessary links of Android business applications exploitation --- and it generates corresponding major Android and applies city
The APP installation kits of field;From being issued Android in 2007, official only provides the mode that IDE generates installation kit, subsequently
Google officials upgrade Android application and development schemes, and introduce gradle makes to be configured and be realized to item code
Installation kit is generated with order, but since the configuration of the corresponding installation kit of each application market is all different, so needing repeatedly to repair
Change configuration and run IDE or execute order to generate installation kit one by one, whole process step multiplicity is high, cumbersome and waste
Time fails to occur always easily solution and full-automatic configure to realize and generate corresponding installation kit.Due to domestic several
Any one needs the enterprise for issuing Android applications to have to launch its APP to major application market (channel) and root
The download in each market is monitored according to the corresponding channel marks of APP, additionally to change the server (publication that APP is connected
When generally can aol server can be gone to by test server), the version number of setting APP and allow APP from the debug versions in exploitation
Switch to generate release editions, so the link becomes a bottleneck in development efficiency.General 10~15MB size
Installation kit generated time, domestic application market had 20 or more at 2 minutes or so, in addition manual amendment configures and runs IDE
Or order, to generate the time of installation kit, 1 hour or so will be expended by generating installation kit each time for publication new edition.
Based on the above issues, the present invention proposes a kind of efficient and the feasible more Custom Attributes installation kits of actual verification
Mass production method.
Invention content
The object of the present invention is to provide a kind of more Custom Attributes installation kit automatic generation methods of Android, system and storages to be situated between
Matter can carry out full-automatic more installation kits and generate as desired, eliminate the repetition configuration operation of manpower, liberated people significantly
Power greatly improves working efficiency and accuracy rate.
To solve the above problems, the first aspect of the present invention provide a kind of more Custom Attributes installation kits of Android from
Dynamic generation method, includes the following steps:
S1, Custom Attributes listing file is filled in;
S2, the more Custom Attributes automatic packaging scripts of setting Android application program engineering codes source file path
With the storing path of the installation kit of generation;
S3, Custom Attributes listing file and more Custom Attributes automatic packaging scripts are positioned over same catalogue;
S4, operation more Custom Attributes automatic packaging scripts;
S5, it generates and the one-to-one installation kit of multiple Custom Attributes in the Custom Attributes listing file and stores
The storing path being arranged in step S2;
S6, engineering code is cleared up;
S7, the backup file for running and being generated in more Custom Attributes automatic packaging scenario process is deleted.
Further, the Custom Attributes includes channel mark, version number and the mark for distinguishing release and/or debug
Know, formal or test server mark and type of service identify;The release refers to external publication or launches to application shop
APP versions, have signature, an encrypted protection mechanism, when operation not will produce debugging log;The debug refers to be adjusted for developing
The APP versions of examination do not have protection mechanism, and will produce debugging log when operation.
Further, the step S1 is specially:Each custom property name and its corresponding configuration write-in is described certainly
In defined attribute listing file, each custom property name and its corresponding configuration account for a line, and centre is separated with space, with line feed
Accord with the mark terminated as each custom property name and its corresponding configuration.
Further, the operational process of the step S4 includes that the input mark is used as parameter.
Further, more Custom Attributes automatic packaging scripts are run in the step S4 to include the following steps:
S41, the file directory for preserving the installation kit generated is created;
S42, to engineering code execute cleaning with it is synchronous;
S43, a custom property name and its corresponding configuration are read in order from Custom Attributes listing file;
S44, original custom property name in engineering code and its corresponding configuration are backed up, and by step S43
The custom property name and its corresponding configuration of reading replace original custom property name and its corresponding configuration;
S45, the packing order that corresponding custom property name is generated according to the parameter of input, and execute the packing life
It enables;
S46, generation the storage of single installation kit to default location;
S47, the step S2 for being automatically copied to the single installation kit of the generation storing path in;
S48, from the backup file of step S44 restore engineering code original custom property name and its accordingly match
It sets;
S49, return to step S43 read next custom property name and its corresponding configuration, until all is self-defined
Property Name and its corresponding configuration read completion and all corresponding installation kit generations finish.
Further, in the step S41 according to version number's parameter for bringing into, create the file directory of entitled version number with
Preserve the installation kit of the generation.
Further, the cleanup step in the step S42 prevents useless generation text for original cleaning for generating file
Part interference is packaged flow;The synchronizing step terminates packing for checking that engineering code whether there is compile error if error
Flow.
Further, the step S44 is specially:After reading out a custom property name and corresponding configuration, positioning
To the position for identifying the custom property name and corresponding configuration in engineering code configuration file, certainly by original mark acquiescence
The configuration code of defined attribute title copies in interim backup file, needs first to create if interim backup file is not present,
Then the custom property name of reading is filled by defined format and replaces matching for original custom property name
Set code.
Further, the backup file that the step S7 is deleted be generated in the step S44 implementation procedures described in face
When back up file.
Further, in the step S45, if without corresponding input parameter, parameter is in engineering code configuration file
The default parameters of all kinds of Custom Attributes.
Another aspect provides a kind of more Custom Attributes installation kit automatic creation systems of Android, including:
Memory and one or more processors;
Wherein, the memory is connect with one or more of processor communications, and being stored in the memory can quilt
The instruction that one or more of processors execute, described instruction is executed by one or more of processors, so that described one
A or multiple processors are for executing foregoing method.
It is yet another aspect of the present invention to provide a kind of computer readable storage mediums, are stored thereon with the executable finger of computer
It enables, when the computer executable instructions are executed by a computing apparatus, is operable to execute foregoing method.
In conclusion the present invention provides a kind of more Custom Attributes installation kit automatic generation methods of Android, system and
Its computer readable storage medium, the order line generating mode for the single installation kit that the automatic generation method is provided using official
Multiple installation kits customized on demand are automatically generated, the customization on demand is presented as the more Custom Attributes for identifying flavor
The write-in such as (including by all kinds of means, multi-connection server, multi-service type) listing file, then reads a Custom Attributes every time
Title simultaneously replaces original Custom Attributes configuration code in engineering code, and the installation of customization is generated by the above method
Packet.The installation kit automatic generation method completes many behaviour for needing manual modification using full-automatic flow instead of manpower
Make, greatly improve efficiency, and avoids mistake that manual modification may be brought and liberated manpower.
The above-mentioned technical proposal of the present invention has following beneficial technique effect:
(1) IDE for only having the single installation kit that Google officials provide instantly is generated or order line generating mode, does not have also
Full-automatic more Custom Attributes (such as channel) generating mode, this method compensate for this blank;
(2) next to prevent from interfering with regard to the recovery of progress original configuration file after having generated an execution file every time
Secondary packing flow, or because of follow-up process error interrupt, cause configuration file that can not be resumed;
(3) Property Name and its corresponding configuration in a kind of attribute are only read every time and configuration file is written, if one
The multiple Property Names and its corresponding configuration of one generic attribute of secondary write-in can be scanned equally when being then packaged and this time be packaged and will not use
Property Name and its corresponding configuration, influence efficiency;
(4) full-automatic flow completes many operations for needing manual modification instead of manpower, greatly improves efficiency
And accuracy rate, and liberated manpower.
Description of the drawings
Fig. 1 is the method general flow chart of the present invention;
Fig. 2 is the automatic packaging script execution flow chart of the present invention.
Specific implementation mode
In order to make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment and join
According to attached drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hair
Bright range.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscured
The concept of invention.
The generating mode that Google officials only provide 2 kinds of installation kits (is that primary be only possible to produce corresponds to one using city
The installation kit of field), one is being generated by IDE, another kind is generated by ordering.IDE generating modes firstly the need of
Channel information (or other self-defined categories of application are set in flavor identified areas in configuration file in build.gradle
Property, now by taking channel as an example), the channel refers to the application shop launched;Then in the guiding window of the generation installation kit of IDE
The password of application signature key, title, the term of validity, copyright information are filled to sign to application, is also wanted after setting
Specific flavor is selected to generate the installation kit of a certain specific channel.And order generating mode also needs to set configuration text
Part, while needing also to write signature-related information in configuration file, the command format then provided by gradle, it will be required
Each flavor values be filled up in order in order, execute order i.e. produce corresponding channel installation kit.
Prior art is once only possible to produce a corresponding channel installation kit, and domestic application shop is numerous (more
Up to 20 or more), each shop is required for uploading corresponding channel installation kit, is just needed with existing way, often generates primary peace
Dress packet will manual modification once configure, then carry out the generation of a new round, thus there are numerous repetitive operations, and cannot take off
It is automatically performed from people, efficiency is relatively low and time-consuming longer.Domestic Android phone user is mainly from major application shop
Android applications are downloaded, therefore the distributing and releasing corporation of each application needs application uploading to shop and counts answering for each shop
With download, thus with regard to need it is corresponding be used as mark and counted, the application for having done mark is channel installation kit;Due to state
Interior application shop is numerous, each time publication application required generation channel installation kit also can be very much, using existing technology come
It generates, extremely inefficient and labor intensive, time, it is raw that the present invention proposes a kind of feasible channel packet batch of efficient and actual verification
At method.
Based on the above issues, the present invention provides a kind of more Custom Attributes installation kit automatic generation methods of Android, such as
Shown in Fig. 1, include the following steps:
S1, Custom Attributes listing file is filled in;
S2, the more Custom Attributes automatic packaging scripts of setting Android application program engineering codes source file path
With the storing path of the installation kit of generation;
S3, Custom Attributes listing file and more Custom Attributes automatic packaging scripts are positioned over same catalogue;
S4, operation more Custom Attributes automatic packaging scripts;
S5, it generates and the one-to-one installation kit of multiple Custom Attributes in the Custom Attributes listing file and stores
The storing path being arranged in step S2;
S6, engineering code is cleared up;
S7, the backup file for running and being generated in more Custom Attributes automatic packaging scenario process is deleted.
By the above method, multiple installation kits customized on demand can be automatically generated.The customization on demand is presented as
Listing file is written into custom property name and its corresponding configuration;The Custom Attributes include channel mark, version number and
Distinguish the identifying of release and/or debug, formal or test server mark and type of service mark etc.;The release
The APP versions for referring to external publication or launching to application shop, there is signature, an encrypted protection mechanism, and when operation not will produce tune
Try daily record;It must be release to be formally published to the APP installation kits of application shop, but the installation kit of release not necessarily can
It is published to application shop;The debug refers to the APP versions for developing debugging, will produce when not having protection mechanism, and running
Debugging log;The type of service mark is primarily adapted for use in the APP peaces with a engineering code building processing different business content
Dress packet, such as have the function of to inscribe, listen to the teacher, civil servant examination, teacher's recruitment, judicial examination, accounting business tine it is different
APP, then can be that different business systematic function is identical but show the different APP of content.The Custom Attributes listing file
It is one list of a generic attribute, such as channel attribute, then the inner only xiaomi of respective list file (channel.txt),
Huawei, oppo, vivo, samsung etc.;Such as Connection Service device attribute, then respective list file (server.txt) is inner
Only:Develop develop.xxx.com (address) 80 (port numbers), (ends online online.xxx.com (address) 90
Slogan) etc.;Being packaged script in this way can judge which attribute and corresponding configuration replaced according to different attribute listing file.
After more Custom Attributes indicate that Custom Attributes selection determines, the difference of the attribute is inputted in attribute list
Custom Attributes is such as selected as channel by Property Name, then indicates that (different applies quotient to multiple and different channel titles by all kinds of means
Shop), Custom Attributes is such as selected as server, then multiserver indicate can be formal, test, Pekinese, Guangzhou,
The multiple and different server in Shanghai ... etc..
The step S1 is specially:The Custom Attributes row are written into each custom property name and its corresponding configuration
In list file, each custom property name and its corresponding configuration account for a line, and centre is separated with space, using newline as each
The mark that custom property name and its corresponding configuration terminate.The operational process of the step S4 includes that the input mark is made
For parameter.
It runs more Custom Attributes automatic packaging scripts in the step S4 to include the following steps, as shown in Figure 2:
S41, the file directory for preserving the installation kit generated is created;
S42, to engineering code execute cleaning with it is synchronous;
S43, a custom property name and its corresponding configuration are read in order from Custom Attributes listing file;
S44, original custom property name in engineering code and its corresponding configuration are backed up, and by step S43
The custom property name and its corresponding configuration of reading replace original custom property name and its corresponding configuration;
S45, the packing order that corresponding custom property name is generated according to the parameter of input, and execute the packing life
It enables;
S46, generation the storage of single installation kit to default location;
S47, the step S2 for being automatically copied to the single installation kit of the generation storing path in;
S48, from the backup file of step S44 restore engineering code original custom property name and its accordingly match
It sets;
S49, return to step S43 read next custom property name and its corresponding configuration, until all is self-defined
Property Name and its corresponding configuration read completion and all corresponding installation kit generations finish.
According to version number's parameter of input in the step S41, it is described to preserve to create the file directory of entitled version number
The installation kit of generation.It is all using version number as discrimination, every time that catalogue, which is named as version number because of publication, update application,
It is the application for handling a version number.
Cleanup step in the step S42 prevents useless generation file interference from beating for original cleaning for generating file
Packet stream journey;The synchronizing step terminates packing flow for checking that engineering code whether there is compile error if error.
The step S44 is specially:After reading out a custom property name and corresponding configuration, engineering code is navigated to
Original mark is given tacit consent to Custom Attributes name by the position that the custom property name and corresponding configuration are identified in configuration file
The configuration code of title copies in interim backup file, needs first to create if interim backup file is not present, then will read
Custom property name filled by defined format and replace the configuration code of original custom property name.Positioning
Mode mainly according to original default Custom Attributes name in configuration file and respective default configuration where line number, it is any to make by oneself
Adopted attribute can all have default name and respective default configuration identifier in original configuration file, and having multiclass attribute then has more parts of marks
Know.It is described replacement be the attribute-name and corresponding configuration of a certain classification are first read out from different classes of attribute list file, then
To the default property name and corresponding configuration for replacing category attribute in engineering code configuration file.
The backup file that the step S7 is deleted is the interim backup text generated in the step S44 implementation procedures
Part.
In the step S45, if without corresponding input parameter, parameter is all kinds of self-defined in engineering code configuration file
The default parameters of attribute.
What is backed up in the step S44 is an attribute-name and its corresponding configuration, such as the channel (application shop launched
Mark) attribute includes just:Channel number, channel report the configuration items such as title;Type of service identity property includes just for another example:App
The configuration items such as ID, the third party's service key accessed;Connection Service device attribute includes the configurations such as server address, port numbers
.What is replaced is also that attribute-name and its corresponding configuration are replaced together.
Installation kit also needs to copy specified preservation road to after being stored in default location in two steps of the S46 and S47
Diameter is to cause many times to find installation kit because the packing program of *** can not customize the installation kit storage location of generation
It needs to traverse file directory layer by layer, it is extremely inconvenient, therefore the installation kit that the packing script direct copying is generated is to easy-to-look-up
Storage location.
It is not done as differentiation of Custom Attributes, version number and release or debug etc. by taking channel mark as an example below
It customizes (taking preset parameter), the method for the present invention is further described.
A kind of Android provided by the invention installation kit automatic generation methods by all kinds of means, include the following steps:
1, the channel that the channel title of each channel, channel number, channel report title to write entitled channel.txt is arranged
In list file, each channel accounts for a line, and channel title, channel number, channel are separated with space between reporting title, made with newline
The mark terminated for each channel.
2, setting automates value and the guarantor for the engineering code source file root variable SRC_PATH for being packaged script by all kinds of means
Deposit the value of the catalogue variables D EST_PATH of the installation kit of generation.
3, by channel listing file and by all kinds of means, automation packing script is placed under same catalogue, takes the version of acquiescence
Number, release parameters be packaged script to run automation, start automation and be packaged flow, the installation kit of generation will be stored in step
In rapid 2 under the paths DEST_PATH in the file directory of entitled version number.
4, after the corresponding all installation kits of channel list generate, cleaning is executed to code engineering, prevents from generating and install
The temporary file generated in packet procedures impacts code engineering;
5, deleting operation, automation is packaged the interim backup file generated in scenario process by all kinds of means.
It is that automation is packaged the operational process of script by all kinds of means in above-mentioned steps 3 below:
(1) according to version number's parameter of input, automatically created under specified path the file directory of entitled version number to
Preserve the installation kit generated;
(2) it (if automation is packaged script under engineering code root, is skipped automatically into the root of engineering code
This step), (this two step has specifically operated Android officials for the original cleaning for generating file of execution code engineering and synchronization
It is embedded in developing instrument, details are not described herein again, only starts the two flows automatically;Cleaning is for preventing useless generation file dry
Packing flow is disturbed, it is to check that engineering code whether there is compile error, terminated if error and be packaged flow to synchronize);
(3) start to read channel name in order from channel list;
(4) after reading out a channel name, the position of engineering code configuration file identification channel is navigated to, it is here, first
First the configuration code that original mark gives tacit consent to channel is integrally copied in interim backup file and (needs first to create if there is no if
Build), the channel name of reading is filled by defined format then and integrally replaces original channel configuration code;
(5) after the completion of replacing, according to the command format for the single installation kit of generation that official provides, according to channel title and fortune
Parameter incoming when being packaged script go to risk the command string for generating single installation kit accordingly, and executes the order;
(6) after order is finished, the single application installation package of generation can be present in the acquiescence generation catalogue of engineering code
In, script can automatically copy the installation kit of generation in the file directory of the entitled version number created in step (1);
(7) by the acquiescence channel configuration code in backup file, the original position of engineering code configuration file is copied to, is covered
Content up is replaced before falling, and reverts to and former configuration file is consistent and (often generates an installation kit just to restore once to match
It sets, to prevent from malfunctioning in the corresponding installation kit of the next channel of generation);
(8) step (3) is returned to read next channel name and corresponding configuration, until all channel name and corresponding configuration
It all reads and completes and generate corresponding installation kit.
As described above, alloing system according to difference according to the method that the installation kit being customized by all kinds of means automatically generates
The packing that channel fully automatically completes installation kit generates, and overcomes and existing is once only possible to produce a corresponding channel installation kit
The problem of, it greatly improves work efficiency.
Another aspect provides a kind of more Custom Attributes installation kit automatic creation systems of Android, including:
Memory and one or more processors;
Wherein, the memory is connect with one or more of processor communications, and being stored in the memory can quilt
The instruction that one or more of processors execute, described instruction is executed by one or more of processors, so that described one
A or multiple processors are for executing the more Custom Attributes installation kit automatic generation methods of foregoing Android.
It is yet another aspect of the present invention to provide a kind of computer readable storage mediums, are stored thereon with the executable finger of computer
It enables, when the computer executable instructions are executed by a computing apparatus, are operable to execute foregoing Android and make by oneself more
Adopted attribute installation kit automatic generation method.
In conclusion a kind of more Custom Attributes installation kit automatic generation methods of Android of the present invention, are carried using official
The order line generating mode of the single installation kit supplied generates multiple installation kits customized on demand to carry out full-automation, will
More Custom Attributes (including by all kinds of means, multi-connection server, multi-service type etc.) write-in listing file of flavor marks is right
The installation kit of customization is generated by the above method afterwards.The method is former with regard to carrying out after having generated an execution file every time
The recovery of beginning configuration file to prevent interference to be packaged flow next time, or because of follow-up process error interrupt, leads to configuration file
It can not be resumed;And only read a Custom Attributes list every time and configuration file is written, the flow generation of the full-automation
Many operations for needing manual modification are completed for manpower, greatly improve efficiency, and liberated manpower.
Term is explained:
IDE:Integrated Development Environment
Channel:That is each domestic Android application shop, also includes the GooglePlay application shops of Google officials
Channel packet:Installation kit in Android device with some application shop mark
flavor:A keyword in the configuration file build.gradle of the code engineering of Android applications, is used for
Give the application to add different attribute configuration, as channel, release and debug point, formally grade with test server.
It is packaged:Generate Android installation kits (executable file for being installed to Android device).
It should be understood that the above-mentioned specific implementation mode of the present invention is used only for exemplary illustration or explains the present invention's
Principle, but not to limit the present invention.Therefore, that is done without departing from the spirit and scope of the present invention is any
Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.In addition, appended claims purport of the present invention
Covering the whole variations fallen into attached claim scope and boundary or this range and the equivalent form on boundary and is repairing
Change example.
Claims (12)
1. a kind of more Custom Attributes installation kit automatic generation methods of Android, which is characterized in that include the following steps:
S1, Custom Attributes listing file is filled in;
S2, the more Custom Attributes automatic packaging scripts of setting Android application program engineering codes source file path and life
At installation kit storing path;
S3, Custom Attributes listing file and more Custom Attributes automatic packaging scripts are positioned over same catalogue;
S4, operation more Custom Attributes automatic packaging scripts;
S5, it generates and the one-to-one installation kit of multiple Custom Attributes in the Custom Attributes listing file and is stored in step
The storing path being arranged in rapid S2;
S6, engineering code is cleared up;
S7, the backup file for running and being generated in more Custom Attributes automatic packaging scenario process is deleted.
2. the more Custom Attributes installation kit automatic generation methods of Android according to claim 1, which is characterized in that institute
Custom Attributes is stated to include channel mark, version number and distinguish the identifying of release and/or debug, formal or test server
Mark and type of service mark;The release refers to external publication or launches the APP versions for arriving application shop, has signature, adds
Close protection mechanism, when operation, not will produce debugging log;The debug refers to the APP versions for developing debugging, does not have and protects
Protection mechanism, and will produce debugging log when operation.
3. the more Custom Attributes installation kit automatic generation methods of Android according to claim 1, which is characterized in that institute
Stating step S1 is specially:Each custom property name and its corresponding configuration are written in the Custom Attributes listing file,
Each custom property name and its corresponding configuration account for a line, and centre is separated with space, using newline as each self-defined category
The mark that property title and its corresponding configuration terminate.
4. the more Custom Attributes installation kit automatic generation methods of Android according to claim 2, which is characterized in that institute
The operational process for stating step S4 includes that the input mark is used as parameter.
5. the more Custom Attributes installation kit automatic generation methods of Android according to claim 4, which is characterized in that institute
It states and runs more Custom Attributes automatic packaging scripts in step S4 and include the following steps:
S41, the file directory for preserving the installation kit generated is created;
S42, to engineering code execute cleaning with it is synchronous;
S43, a custom property name and its corresponding configuration are read in order from Custom Attributes listing file;
S44, original custom property name in engineering code and its corresponding configuration are backed up, and step S43 is read
Custom property name and its corresponding configuration replace original custom property name and its corresponding configuration;
S45, the packing order that corresponding custom property name is generated according to the parameter of input, and execute the packing order;
S46, generation the storage of single installation kit to default location;
S47, the step S2 for being automatically copied to the single installation kit of the generation storing path in;
S48, the original custom property name and its corresponding configuration for restoring engineering code from the backup file of step S44;
S49, return to step S43 read next custom property name and its corresponding configuration, until all Custom Attributes
Title and its corresponding configuration read completion and all corresponding installation kit generations finish.
6. the more Custom Attributes installation kit automatic generation methods of Android according to claim 5, which is characterized in that institute
It states in step S41 according to the version number's parameter brought into, creates the file directory of entitled version number to preserve the installation of the generation
Packet.
7. the more Custom Attributes installation kit automatic generation methods of Android according to claim 5, which is characterized in that institute
The cleanup step in step S42 is stated for original cleaning for generating file, useless generation file interference is prevented to be packaged flow;It is described
Synchronizing step terminates packing flow for checking that engineering code whether there is compile error if error.
8. the more Custom Attributes installation kit automatic generation methods of Android according to claim 5, which is characterized in that institute
Stating step S44 is specially:After reading out a custom property name and corresponding configuration, navigate in engineering code configuration file
Original mark is given tacit consent to the configuration generation of custom property name by the position for identifying the custom property name and corresponding configuration
Code copies in interim backup file, needs first to create if interim backup file is not present, then by the self-defined category of reading
Property title is filled by defined format and replaces the configuration code of original custom property name.
9. the more Custom Attributes installation kit automatic generation methods of Android according to claim 8, which is characterized in that institute
It is the interim backup file generated in the step S44 implementation procedures to state the backup file that step S7 is deleted.
10. the more Custom Attributes installation kit automatic generation methods of Android according to claim 5, which is characterized in that institute
It states in step S45, if without corresponding input parameter, parameter is the acquiescence of all kinds of Custom Attributes in engineering code configuration file
Parameter.
11. a kind of more Custom Attributes installation kit automatic creation systems of Android, which is characterized in that including:
Memory and one or more processors;
Wherein, the memory is connect with one or more of processor communications, and being stored in the memory can be described
The instruction that one or more processors execute, described instruction executed by one or more of processors so that it is one or
Multiple processors require 1-10 any one of them methods for perform claim.
12. a kind of computer readable storage medium, is stored thereon with computer executable instructions, refer to when the computer is executable
When order is executed by a computing apparatus, it is operable to perform claim and requires 1-10 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810065060.XA CN108279912A (en) | 2018-01-23 | 2018-01-23 | The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810065060.XA CN108279912A (en) | 2018-01-23 | 2018-01-23 | The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108279912A true CN108279912A (en) | 2018-07-13 |
Family
ID=62804635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810065060.XA Pending CN108279912A (en) | 2018-01-23 | 2018-01-23 | The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108279912A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117175A (en) * | 2018-07-31 | 2019-01-01 | 成都华栖云科技有限公司 | One kind being based on the quick package desktop end packaging method of APK decompiling and strapping tool |
CN109189466A (en) * | 2018-07-23 | 2019-01-11 | 北京城市网邻信息技术有限公司 | A kind of vest packet packaging method, device, electronic equipment and storage medium |
WO2020020187A1 (en) * | 2018-07-23 | 2020-01-30 | Huawei Technologies Co., Ltd. | Application defined packaging |
CN111399864A (en) * | 2020-03-16 | 2020-07-10 | 北京五八信息技术有限公司 | Android system application program basic package generation method and generation device |
CN111475143A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method and device for customizing software |
CN111610999A (en) * | 2020-05-26 | 2020-09-01 | 北京字节跳动网络技术有限公司 | Checking method, checking device, computer equipment and storage medium |
CN113110872A (en) * | 2021-05-18 | 2021-07-13 | 绿漫科技有限公司 | Android automatic configuration construction platform and operation method |
CN113127054A (en) * | 2021-05-08 | 2021-07-16 | 上海益世界信息技术集团有限公司广州分公司 | File processing method and related device |
CN113282284A (en) * | 2021-06-24 | 2021-08-20 | 成都科来网络技术有限公司 | Packing method and packing system adaptive to multiple customized projects |
CN113434192A (en) * | 2021-08-26 | 2021-09-24 | 广州易方信息科技股份有限公司 | SDK platform-based packaging method and device and computer equipment |
CN113515269A (en) * | 2021-09-13 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Application package processing method and device, computer equipment and storage medium |
CN113986267A (en) * | 2021-10-27 | 2022-01-28 | 浪潮思科网络科技有限公司 | Deployment method, device and medium for SDN controller installation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346184A (en) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | Application packaging device and application packaging method |
US20170099144A1 (en) * | 2015-10-06 | 2017-04-06 | Prem Sobel | Embedded encryption platform comprising an algorithmically flexible multiple parameter encryption system |
CN107179931A (en) * | 2017-07-06 | 2017-09-19 | 广州优视网络科技有限公司 | Installation kit packaging method, apparatus and system |
CN107577469A (en) * | 2017-08-21 | 2018-01-12 | 厦门悦讯教育科技有限公司 | A kind of Software package method for release management |
-
2018
- 2018-01-23 CN CN201810065060.XA patent/CN108279912A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346184A (en) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | Application packaging device and application packaging method |
US20170099144A1 (en) * | 2015-10-06 | 2017-04-06 | Prem Sobel | Embedded encryption platform comprising an algorithmically flexible multiple parameter encryption system |
CN107179931A (en) * | 2017-07-06 | 2017-09-19 | 广州优视网络科技有限公司 | Installation kit packaging method, apparatus and system |
CN107577469A (en) * | 2017-08-21 | 2018-01-12 | 厦门悦讯教育科技有限公司 | A kind of Software package method for release management |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189466A (en) * | 2018-07-23 | 2019-01-11 | 北京城市网邻信息技术有限公司 | A kind of vest packet packaging method, device, electronic equipment and storage medium |
WO2020020187A1 (en) * | 2018-07-23 | 2020-01-30 | Huawei Technologies Co., Ltd. | Application defined packaging |
CN109117175B (en) * | 2018-07-31 | 2022-01-28 | 成都华栖云科技有限公司 | APK decompilation-based desktop end packaging method and packaging tool for fast packaging |
CN109117175A (en) * | 2018-07-31 | 2019-01-01 | 成都华栖云科技有限公司 | One kind being based on the quick package desktop end packaging method of APK decompiling and strapping tool |
CN111399864A (en) * | 2020-03-16 | 2020-07-10 | 北京五八信息技术有限公司 | Android system application program basic package generation method and generation device |
CN111475143A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method and device for customizing software |
CN111610999A (en) * | 2020-05-26 | 2020-09-01 | 北京字节跳动网络技术有限公司 | Checking method, checking device, computer equipment and storage medium |
CN113127054A (en) * | 2021-05-08 | 2021-07-16 | 上海益世界信息技术集团有限公司广州分公司 | File processing method and related device |
CN113110872A (en) * | 2021-05-18 | 2021-07-13 | 绿漫科技有限公司 | Android automatic configuration construction platform and operation method |
CN113282284A (en) * | 2021-06-24 | 2021-08-20 | 成都科来网络技术有限公司 | Packing method and packing system adaptive to multiple customized projects |
CN113434192A (en) * | 2021-08-26 | 2021-09-24 | 广州易方信息科技股份有限公司 | SDK platform-based packaging method and device and computer equipment |
CN113434192B (en) * | 2021-08-26 | 2021-12-07 | 广州易方信息科技股份有限公司 | SDK platform-based packaging method and device and computer equipment |
CN113515269A (en) * | 2021-09-13 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Application package processing method and device, computer equipment and storage medium |
CN113515269B (en) * | 2021-09-13 | 2021-12-31 | 腾讯科技(深圳)有限公司 | Application package processing method and device, computer equipment and storage medium |
CN113986267A (en) * | 2021-10-27 | 2022-01-28 | 浪潮思科网络科技有限公司 | Deployment method, device and medium for SDN controller installation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108279912A (en) | The more Custom Attributes installation kit automatic generation methods of Android, system and storage medium | |
CN107577469B (en) | software packaging and publishing management method | |
Gallaba et al. | Use and misuse of continuous integration features: An empirical study of projects that (mis) use Travis CI | |
US9940225B2 (en) | Automated error checking system for a software application and method therefor | |
US8151247B2 (en) | Test data management | |
US5960196A (en) | Software release metric reporting system and method | |
US5903897A (en) | Software documentation release control system | |
CN103019708B (en) | For the system of releasing software | |
KR102341154B1 (en) | High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices | |
US20140181793A1 (en) | Method of automatically testing different software applications for defects | |
US9971595B1 (en) | Techniques for automated database deployment | |
US20200201689A1 (en) | System and method for determining a process flow of a software application and for automatically generating application testing code | |
CN109800005B (en) | Client hot update method and device | |
CN107193607B (en) | Method and apparatus for updating code file, storage medium, processor, and terminal | |
US11544050B1 (en) | Software patch automation | |
GB2508643A (en) | Method for Performing a Regression Test after Modifying Source Code File | |
US10235270B2 (en) | Method for assisting with debugging, and computer system | |
CN108595187A (en) | Method, device and the storage medium of Android installation kit integrated software development kit | |
CN107391176B (en) | Efficient configuration data change processing method | |
US9047260B2 (en) | Model-based testing of a graphical user interface | |
CN108170588B (en) | Test environment construction method and device | |
CN103853663A (en) | Application program test method and system | |
CN109558318A (en) | A kind of code administration method and code storage distributed system | |
CN113254054A (en) | Intelligent contract one-stop development system and method | |
CN107357721B (en) | Method and device for testing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180713 |
|
RJ01 | Rejection of invention patent application after publication |