CN113076147A - Resource loading method, device, system and medium for dynamic APK - Google Patents

Resource loading method, device, system and medium for dynamic APK Download PDF

Info

Publication number
CN113076147A
CN113076147A CN202110257049.5A CN202110257049A CN113076147A CN 113076147 A CN113076147 A CN 113076147A CN 202110257049 A CN202110257049 A CN 202110257049A CN 113076147 A CN113076147 A CN 113076147A
Authority
CN
China
Prior art keywords
dynamic
resource
public
public resource
apk
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.)
Granted
Application number
CN202110257049.5A
Other languages
Chinese (zh)
Other versions
CN113076147B (en
Inventor
刘子樋
贾睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yimutian Xinnong Network Technology Co ltd
Original Assignee
Beijing Yimutian Xinnong Network Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Yimutian Xinnong Network Technology Co ltd filed Critical Beijing Yimutian Xinnong Network Technology Co ltd
Priority to CN202110257049.5A priority Critical patent/CN113076147B/en
Publication of CN113076147A publication Critical patent/CN113076147A/en
Application granted granted Critical
Publication of CN113076147B publication Critical patent/CN113076147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention provides a resource loading method, device, system and medium of dynamic APK. The method comprises the following steps: the method comprises the steps of obtaining a public resource used for loading a plurality of dynamic APK files together, and putting the obtained public resource into a public resource library; the public resource library is processed to be referred to the plurality of dynamic APK files, wherein the configuration file of the public resource is generated based on the public resource library; when the plurality of dynamic APK files are packaged, acquiring a configuration file of the public resource according to the plurality of dynamic APK files which refer to the public resource library so as to determine the identification information of the public resource; and loading the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource. The method of the invention can solve the problem that the identification information id of the public resource quoted by the plurality of dynamic APKs is not matched, thereby enabling the plurality of dynamic APKs to load the resource normally.

Description

Resource loading method, device, system and medium for dynamic APK
Technical Field
The invention relates to a resource loading method, a resource loading device, a resource loading system and a resource loading medium of dynamic APK.
Background
Along with continuous iteration of App, APP development becomes heavier and heavier, and along with the continuous growth of technical teams, the coupling degree of a single App is heavier and heavier, and the maintenance is more difficult, and meanwhile, the traditional form of App is not beneficial to quick iteration. Therefore, a dynamic APK technology is provided, an App serves as a desktop system, and other APKs are dynamically loaded in the App, so that the APKs can be quickly plugged and unplugged. Therefore, the dynamic loading technology of the APK is realized. However, in the dynamic APK technology, there are some common general components, and each dynamic APK directly depends on a general mechanism, which leads to an increase in the overall volume of the App, thereby causing a problem that the App is not easy to popularize. In these general mechanisms, for class loading, dependencies among dynamic APKs are resolved.
However, since each dynamic APK exists independently, the building tool may reorder the resources of the common component, resulting in mismatch of the identification information id referring to the common resource among the plurality of dynamic APKs, so that the result generated by the common component of each dynamic APK is inconsistent. Therefore, the resource loading becomes very unstable due to the Android compiling mechanism.
Disclosure of Invention
In view of the above problems, the present invention provides a resource loading method, apparatus, system and medium for dynamic APKs, which can solve the problem that identification information ids of multiple dynamic APKs referencing a common resource are not matched, so that multiple dynamic APKs load resources normally.
According to an aspect of the present invention, a resource loading method for dynamic APK is provided, including:
an acquisition step: the method comprises the steps of obtaining a public resource used for loading a plurality of dynamic APK files together, and putting the obtained public resource into a public resource library;
the processing steps are as follows: the public resource library is processed to be referred to the plurality of dynamic APK files, wherein the configuration file of the public resource is generated based on the public resource library;
a determination step: when the plurality of dynamic APK files are packaged, acquiring a configuration file of the public resource according to the plurality of dynamic APK files which refer to the public resource library so as to determine the identification information of the public resource; and
a loading step: and loading the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource.
Preferably, the processing step further comprises: packaging the public resource library to generate an aar file based on the public resource library, and referencing the generated aar file to the plurality of dynamic APK files.
Preferably, the processing step further comprises: acquiring identity information of the public resources in the public resource library, and writing the identity information into a configuration file of the public resources; and is
The determining step further comprises: and when the plurality of dynamic APK files are packaged, acquiring the identity information of the public resource in the configuration file to determine the identification information of the public resource.
Preferably, the determining step further comprises: and generating a temporary configuration file based on the acquired identity information of the public resource in the configuration file, and putting the temporary configuration file into a preset directory in the dynamic APK file, so that the identity information is used as the identification information of the public resource for loading the public resource.
Preferably, the loading step further comprises: and loading the public resource into the plurality of dynamic APKs by modifying the reference information of the files of the plurality of dynamic APKs, which reference the public resource, into the identification information of the public resource.
Preferably, the processing step further comprises: acquiring the name of the public resource in the public resource library, and writing the name of the public resource into a configuration file of the public resource; and is
The loading step further comprises: and modifying the reference information of the files which reference the public resources of the plurality of dynamic APK files into the identification information of the public resources according to the names of the public resources.
According to another aspect of the present invention, there is provided a resource loading apparatus for dynamic APK, including:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring common resources for loading a plurality of dynamic APK files together and putting the acquired common resources into a common resource library;
a processing unit, configured to refer the public resource library to the plurality of dynamic APK files by processing the public resource library, wherein a configuration file of the public resource is generated based on the public resource library;
a determining unit, configured to obtain a configuration file of the public resource according to the plurality of dynamic APK files referencing the public resource library when packaging the plurality of dynamic APK files to determine identification information of the public resource; and
and the loading unit loads the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource.
According to another aspect of the present invention, there is provided a resource loading system for dynamic APK, including:
one or more processors; and
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the resource loading method of dynamic APK as described in the above aspect.
According to another aspect of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the resource loading method of dynamic APK as described in the above aspect.
Advantageous effects of the invention
According to the resource loading method, device, system and medium of the dynamic APK, the problem of application program crash caused by different resource ids when public components are loaded among plug-ins is solved by changing the conventional resource loading mechanism of android, so that the dynamic APK loads resources normally, the dynamic APK technology can be widely used, and the requirements of service functions and rapid function iteration are greatly met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention.
Fig. 1 illustrates a resource loading method of a dynamic APK according to a preferred embodiment of the present invention.
Fig. 2 illustrates a process of extracting a public resource in a resource loading method of a dynamic APK according to an embodiment of the present invention.
Fig. 3 illustrates a process of generating aar in the resource loading method of dynamic APK according to an embodiment of the present invention.
Fig. 4 illustrates a process of determining a resource id in the resource loading method of the dynamic APK according to an embodiment of the present invention.
Fig. 5 illustrates a process of modifying a reference of a resource id in a resource loading method of a dynamic APK according to an embodiment of the present invention.
Fig. 6 illustrates a resource loading apparatus of a dynamic APK according to a preferred embodiment of the present invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, and components have not been described in detail so as not to obscure the present invention.
The resource loading method of dynamic APK of the present invention is described with reference to fig. 1-5. Fig. 1 illustrates a resource loading method of a dynamic APK according to a preferred embodiment of the present invention. Fig. 2 illustrates a process of extracting a public resource in a resource loading method of a dynamic APK according to an embodiment of the present invention. Fig. 3 illustrates a process of generating aar in the resource loading method of dynamic APK according to an embodiment of the present invention. Fig. 4 illustrates a process of determining a resource id in the resource loading method of the dynamic APK according to an embodiment of the present invention. Fig. 5 illustrates a process of modifying a reference of a resource id in a resource loading method of a dynamic APK according to an embodiment of the present invention.
The invention provides a resource loading method of dynamic APK. As shown in fig. 1, a resource loading method of a dynamic APK according to an embodiment of the present invention includes: an obtaining step S101, obtaining a common resource used for loading a plurality of dynamic APK files together, and putting the obtained common resource into a common resource library; a processing step S102, of processing the public resource library, and referring the public resource library to the plurality of dynamic APK files, wherein a configuration file of the public resource is generated based on the public resource library; a determining step S103, when the plurality of dynamic APK files are packaged, acquiring a configuration file of the public resource according to the plurality of dynamic APK files referencing the public resource library, so as to determine identification information of the public resource; and a loading step S104, loading the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource.
Preferably, the processing step S102 further includes: packaging the public resource library to generate an aar file based on the public resource library, and referencing the generated aar file to the plurality of dynamic APK files.
Preferably, the processing step S102 further includes: acquiring identity information of the public resources in the public resource library, and writing the identity information into a configuration file of the public resources; the determining step further comprises: and when the plurality of dynamic APK files are packaged, acquiring the identity information of the public resource in the configuration file to determine the identification information of the public resource.
Preferably, the determining step S103 further includes: and generating a temporary configuration file based on the acquired identity information of the public resource in the configuration file, and putting the temporary configuration file into a preset directory in the dynamic APK file, so that the identity information is used as the identification information of the public resource for loading the public resource.
Preferably, the loading step S104 further comprises: and loading the public resource into the plurality of dynamic APKs by modifying the reference information of the file which refers to the public resource in the plurality of dynamic APK files into the identification information of the public resource.
Further preferably, the processing step S102 further includes: acquiring the name of the public resource in the public resource library, and writing the name of the public resource into a configuration file of the public resource; the loading step S104 further includes: and modifying the reference information of the files which reference the public resources of the plurality of dynamic APK files into the identification information of the public resources according to the names of the public resources.
A specific example of the resource loading method of the dynamic APK according to the present invention will be described below with reference to fig. 2 to 5. This particular example performs the following steps 1-4:
step 1, referring to fig. 2, resource used in a common component of multiple dynamic APKs is abstracted (cut). In the case of referencing a common component among multiple dynamic APKs, the resources referenced in the common component are sorted and all placed in a common resource library baseStyle. The common resource pool will be relied upon in each dynamic APK separately in the form of aar.
Step 2, next, referring to FIG. 3, the baseStyle common resource pool is processed. A packaging task (uploadArchives) is first performed on a common repository.
In the packaging process, when a merged resource mergeReleaseResources task is executed, traversing all resources in an android project directory res (res directory such as a resource file storing a project) under baseStyle, and simultaneously analyzing an R.java file generated by an android, wherein when a building tool is used for packaging and building, the R.java file is automatically generated and contains a resource type, a name, a resource id and the like.
The id and the name of the resource can be obtained through the method. A configuration file public _ xml is generated and, for example, the id and name of the resource are written to the public _ xml. The generated public _ xml is then copied to a directory storing xml files, for example, res/raw/public _ xml, until the packaging process is completed, and finally, referred aar files are generated. aar files are compressed files that contain some range of artifacts.
And 3, referring to fig. 4, the dynamic APK project refers to aar generated after the baseStyle is packaged, so that the front work is completed. And 3, packaging the dynamic APK, and performing a flow of the fixed resource id when packaging the dynamic APK.
The resource ids are reordered because the dynamic APK is constructed. In this example, the resource ids that do not exist in public _ xml are reordered, but the resource ids that exist in public _ xml are not changed, so the resource ids in public _ xml can be directly multiplexed for loading the resource.
Specifically, a packing operation (elementary) of the dynamic APK is performed. In the packaging process, the android packaging flow provides a task of packaging resource processeseresources, and the task needs to be modified. First, public _ xml file in baseStyle needs to be obtained. After the aar is introduced, the android packaging process generates a flat file from public _ xml input by the baseStyle through the compiling tool aapt2, and obtains the fixed encoding format of the flat file by looking at the binary data of the flat file. Flat is then decoded to obtain the original data of public _ xml, e.g., resource id. And regenerating a temporary public _ xml file based on the obtained original data for obtaining the public _ xml, and putting/copying the generated temporary public _ xml into a fixed directory under the engineering directory, such as build/intermedia/ymt 360_ intermedia/aapt 2/res/values/public _ xml, so that the resource id in the public _ xml file can be directly referred to. When packaged by aapt2, the resource id in public _ xml is not changed, and all resources with the same name as the public _ xml resource are fixed to the resource id in public _ xml.
Step 4, referring to fig. 5, after the resource id is fixed, the resource reference id of the file referencing the resource needs to be modified, that is, the resource reference id is modified to be the fixed resource id.
The file referencing the resource id includes: and generating an _ ap file when the dynamic APK is compiled in an android packaging mode and a layout file in an R.java resource file.
An ap file is a collection of resources, i.e., a zip package of resources. The zip package contains resources. Arcc files are fixed coded in format, and the files are decoded according to the coding format. After decoding, the resource reference id in the resources. And coding is carried out again according to the coding format, and the _ ap file is regenerated, so that the resource reference id of the resources.
Java resource files are all resource files of the dynamic APK. A layout file in the r.java resource file contains an xml file that references a resource by a resource reference id. The encoding of the xml file has a fixed format, so the xml file can be decoded. After decoding, the resource reference id in the xml file is modified to a fixed resource id, e.g., replacing the first 4 bits of the resource reference id, based on, e.g., the name of the resource. After changing the id of the resource, the xml file is re-encoded.
And finishing the reference of the _ ap file and the layout file to the resource by modifying the resource reference id of the _ ap file and the layout file, thereby realizing the loading of the resource to the dynamic APK.
The following describes a resource loading apparatus for dynamic APK according to an embodiment of the present invention.
Fig. 6 illustrates a resource loading apparatus of a dynamic APK according to a preferred embodiment of the present invention.
As shown in fig. 6, the resource loading apparatus 200 of the dynamic APK includes: an obtaining unit 201, configured to obtain a common resource for loading multiple dynamic APK files together, and place the obtained common resource into a common resource library; a processing unit 202, configured to refer the public resource library to the plurality of dynamic APK files by processing the public resource library, wherein a configuration file of the public resource is generated based on the public resource library; a determining unit 203, configured to obtain a configuration file of the public resource according to the plurality of dynamic APK files referencing the public resource library when packaging the plurality of dynamic APK files, so as to determine identification information of the public resource; and a loading unit 204, configured to load the common resource to the plurality of dynamic APKs according to the determined identification information of the common resource.
Preferably, the processing unit 202 packages the common resource library to generate an aar file based on the common resource library, and references the aar file to the plurality of dynamic APK files.
Preferably, the processing unit 202 obtains identity information of the public resource in the public resource library, and writes the identity information into a configuration file of the public resource; the determining step further comprises: and when the plurality of dynamic APK files are packaged, acquiring the identity information of the public resource in the configuration file to determine the identification information of the public resource.
Preferably, the determining unit 203 generates a temporary configuration file based on the acquired identity information of the public resource in the configuration file, and places the temporary configuration file into a predetermined directory in the dynamic APK file, so that the identity information is used as the identification information of the public resource for loading the public resource.
Preferably, the loading unit 204 loads the common resource into the plurality of dynamic APKs by modifying reference information of a file referencing the common resource in the plurality of dynamic APK files into identification information of the common resource.
Further preferably, the processing unit 202 obtains the name of the public resource in the public resource library, and writes the name of the public resource into the configuration file of the public resource. The loading unit 204 modifies the reference information of the files referencing the public resource of the plurality of dynamic APK files into the identification information of the public resource according to the name of the public resource.
As another aspect, the present invention further provides a resource loading system for dynamic APK, including: one or more processors; and a storage device, configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors implement the resource loading method for dynamic APK as described in the above embodiments.
As yet another aspect, the present invention also provides a computer-readable medium carrying one or more programs which, when executed by a processor, cause the program to perform the resource loading method of dynamic APK described in the above embodiments.
According to the resource loading method, device, system and medium of the dynamic APK, the problem of application program crash caused by different resource ids when public components are loaded among plug-ins is solved by changing the conventional resource loading mechanism of android, so that the dynamic APK loads resources normally, the dynamic APK technology can be widely used, and the requirements of service functions and rapid function iteration are greatly met.
Those skilled in the art will readily appreciate that the above-described preferred embodiments may be freely combined, superimposed, without conflict. The above exemplary embodiments are merely illustrative of the principles of the present invention and are not intended to limit the scope of the invention. Various modifications may be made by those skilled in the art without departing from the spirit and principles of the disclosure without departing from the scope thereof, which is defined by the claims.

Claims (9)

1. A resource loading method of dynamic APK includes:
an acquisition step: the method comprises the steps of obtaining a public resource used for loading a plurality of dynamic APK files together, and putting the obtained public resource into a public resource library;
the processing steps are as follows: the public resource library is processed to be referred to the plurality of dynamic APK files, wherein the configuration file of the public resource is generated based on the public resource library;
a determination step: when the plurality of dynamic APK files are packaged, acquiring a configuration file of the public resource according to the plurality of dynamic APK files which refer to the public resource library so as to determine the identification information of the public resource; and
a loading step: and loading the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource.
2. The method for resource loading of dynamic APK according to claim 1,
the processing step further comprises: packaging the public resource library to generate an aar file based on the public resource library, and referencing the generated aar file to the plurality of dynamic APK files.
3. The method for resource loading of dynamic APK according to claim 1 or 2,
the processing step further comprises: acquiring identity information of the public resources in the public resource library, and writing the identity information into a configuration file of the public resources; and is
The determining step further comprises: and when the plurality of dynamic APK files are packaged, acquiring the identity information of the public resource in the configuration file to determine the identification information of the public resource.
4. The method for resource loading of dynamic APK according to claim 3,
the determining step further comprises: and generating a temporary configuration file based on the acquired identity information of the public resource in the configuration file, and putting the temporary configuration file into a preset directory in the dynamic APK file, so that the identity information is used as the identification information of the public resource for loading the public resource.
5. The method for resource loading of dynamic APK according to any of claims 1-4,
the loading step further comprises: and loading the public resource into the plurality of dynamic APKs by modifying the reference information of the files of the plurality of dynamic APKs, which reference the public resource, into the identification information of the public resource.
6. The method for resource loading of dynamic APK according to claim 5,
the processing step further comprises: acquiring the name of the public resource in the public resource library, and writing the name of the public resource into a configuration file of the public resource; and is
The loading step further comprises: and modifying the reference information of the files which reference the public resources of the plurality of dynamic APK files into the identification information of the public resources according to the names of the public resources.
7. A resource loading apparatus of a dynamic APK, comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring common resources for loading a plurality of dynamic APK files together and putting the acquired common resources into a common resource library;
a processing unit, configured to refer the public resource library to the plurality of dynamic APK files by processing the public resource library, wherein a configuration file of the public resource is generated based on the public resource library;
a determining unit, configured to obtain a configuration file of the public resource according to the plurality of dynamic APK files referencing the public resource library when packaging the plurality of dynamic APK files to determine identification information of the public resource; and
and the loading unit loads the public resource to the plurality of dynamic APKs according to the determined identification information of the public resource.
8. A resource loading system for dynamic APK, comprising:
one or more processors; and
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of resource loading of dynamic APK of any of claims 1-6.
9. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of resource loading of a dynamic APK according to any one of claims 1 to 6.
CN202110257049.5A 2021-03-09 2021-03-09 Dynamic APK resource loading method, device, system and medium Active CN113076147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110257049.5A CN113076147B (en) 2021-03-09 2021-03-09 Dynamic APK resource loading method, device, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110257049.5A CN113076147B (en) 2021-03-09 2021-03-09 Dynamic APK resource loading method, device, system and medium

Publications (2)

Publication Number Publication Date
CN113076147A true CN113076147A (en) 2021-07-06
CN113076147B CN113076147B (en) 2024-02-02

Family

ID=76612178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110257049.5A Active CN113076147B (en) 2021-03-09 2021-03-09 Dynamic APK resource loading method, device, system and medium

Country Status (1)

Country Link
CN (1) CN113076147B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186380A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Development method and device for APK (Android PacKage)
CN103425509A (en) * 2013-08-07 2013-12-04 深圳市欧珀通信软件有限公司 Method and device for installing language package
CN103544005A (en) * 2013-09-10 2014-01-29 Tcl集团股份有限公司 Expansion developing method and device for Android custom control
CN105159788A (en) * 2015-09-11 2015-12-16 Tcl集团股份有限公司 Method and system for dynamic resource sharing between Android applications
US9818136B1 (en) * 2003-02-05 2017-11-14 Steven M. Hoffberg System and method for determining contingent relevance
CN109542445A (en) * 2017-08-01 2019-03-29 北京京东尚科信息技术有限公司 A kind of method and apparatus that Android plug-in unit melts hair
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN109871704A (en) * 2019-03-19 2019-06-11 北京智游网安科技有限公司 Android resource file means of defence, equipment and storage medium based on Hook
CN110442327A (en) * 2018-05-03 2019-11-12 阿里巴巴集团控股有限公司 A kind of application builds method, apparatus, server
US10482260B1 (en) * 2012-06-25 2019-11-19 Symantec Corporation In-line filtering of insecure or unwanted mobile device software components or communications
CN110471709A (en) * 2019-07-15 2019-11-19 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed
CN110688232A (en) * 2018-07-05 2020-01-14 珠海市魅族科技有限公司 Application program calling method, terminal device and computer readable storage medium
CN110727469A (en) * 2018-06-29 2020-01-24 珠海市魅族科技有限公司 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium
CN110780940A (en) * 2019-09-24 2020-02-11 维沃移动通信有限公司 Application program loading method, electronic device and storage medium
CN111090463A (en) * 2019-12-11 2020-05-01 北京小米移动软件有限公司 Resource identification method and device and computer storage medium
CN112052013A (en) * 2020-08-03 2020-12-08 完美世界(北京)软件科技发展有限公司 Software package generation method and device, storage medium and electronic device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9818136B1 (en) * 2003-02-05 2017-11-14 Steven M. Hoffberg System and method for determining contingent relevance
CN103186380A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Development method and device for APK (Android PacKage)
US10482260B1 (en) * 2012-06-25 2019-11-19 Symantec Corporation In-line filtering of insecure or unwanted mobile device software components or communications
CN103425509A (en) * 2013-08-07 2013-12-04 深圳市欧珀通信软件有限公司 Method and device for installing language package
CN103544005A (en) * 2013-09-10 2014-01-29 Tcl集团股份有限公司 Expansion developing method and device for Android custom control
CN105159788A (en) * 2015-09-11 2015-12-16 Tcl集团股份有限公司 Method and system for dynamic resource sharing between Android applications
CN109542445A (en) * 2017-08-01 2019-03-29 北京京东尚科信息技术有限公司 A kind of method and apparatus that Android plug-in unit melts hair
CN110442327A (en) * 2018-05-03 2019-11-12 阿里巴巴集团控股有限公司 A kind of application builds method, apparatus, server
CN110727469A (en) * 2018-06-29 2020-01-24 珠海市魅族科技有限公司 Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium
CN110688232A (en) * 2018-07-05 2020-01-14 珠海市魅族科技有限公司 Application program calling method, terminal device and computer readable storage medium
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN109871704A (en) * 2019-03-19 2019-06-11 北京智游网安科技有限公司 Android resource file means of defence, equipment and storage medium based on Hook
CN110471709A (en) * 2019-07-15 2019-11-19 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed
CN110780940A (en) * 2019-09-24 2020-02-11 维沃移动通信有限公司 Application program loading method, electronic device and storage medium
CN111090463A (en) * 2019-12-11 2020-05-01 北京小米移动软件有限公司 Resource identification method and device and computer storage medium
CN112052013A (en) * 2020-08-03 2020-12-08 完美世界(北京)软件科技发展有限公司 Software package generation method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN113076147B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
US8112388B2 (en) Dependency processing of computer files
US8458681B1 (en) Method and system for optimizing the object code of a program
US9772865B2 (en) On-demand loading of dynamic scripting language code for reduced memory usage
CN111124480B (en) Method and device for generating application program package, electronic equipment and storage medium
CN111209001A (en) Method, system, equipment and medium for batch generation of APKs of android channels
US20090037878A1 (en) Web Application Development Tool
CN111984729A (en) Heterogeneous database data synchronization method, device, medium and electronic equipment
CN105573836A (en) Data processing method and device
CN109558121B (en) Interface driver development method, device, equipment and storage medium
CN111309335A (en) Plug-in application compiling method and device and computer readable storage medium
US20130275954A1 (en) Inter-procedural unreachable code elimination with use graph
CN113076147A (en) Resource loading method, device, system and medium for dynamic APK
CN111158665B (en) Code generation method and device, electronic equipment and storage medium
CN112835587A (en) Compiling integration method and device
CN105786465A (en) Scripting language execution method and device
CN114329264A (en) Method and device for acquiring dynamic data and computer readable storage medium
CN111367512B (en) Method and device for creating Android library module dependency relationship in application development
CN115098158A (en) SDK packaging method and device, computer equipment and storage medium
CN111880803B (en) Software construction method and device applied to multiple platforms
CN111273940B (en) Method and device for uploading program file to code warehouse
CN110554867B (en) Application processing method and device
CN112052035A (en) Version packaging method and device based on bank back-line system
CN111552479A (en) Mirror image file compiling method and device and electronic equipment
CN113076146A (en) Dynamic APK loading method, device, system and medium
CN113326048B (en) Floating point number calculation precision processing method, system, medium and device

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
GR01 Patent grant
GR01 Patent grant