CN110083344B - Software development tool package modification method and device and electronic equipment - Google Patents

Software development tool package modification method and device and electronic equipment Download PDF

Info

Publication number
CN110083344B
CN110083344B CN201910365107.9A CN201910365107A CN110083344B CN 110083344 B CN110083344 B CN 110083344B CN 201910365107 A CN201910365107 A CN 201910365107A CN 110083344 B CN110083344 B CN 110083344B
Authority
CN
China
Prior art keywords
file
sdk
modified
new
source code
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.)
Active
Application number
CN201910365107.9A
Other languages
Chinese (zh)
Other versions
CN110083344A (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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201910365107.9A priority Critical patent/CN110083344B/en
Publication of CN110083344A publication Critical patent/CN110083344A/en
Application granted granted Critical
Publication of CN110083344B publication Critical patent/CN110083344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/53Decompilation; Disassembly
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a software development kit modification method, a device and electronic equipment. The method comprises the following steps: decompiling a first file to be modified in a Software Development Kit (SDK) to obtain a source code file corresponding to the first file; modifying the source code file according to the received modification instruction to obtain a new source code file; compiling an engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file; and replacing the first file in the SDK by the second file to obtain a modified new SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.

Description

Software development tool package modification method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for modifying a software development kit, and an electronic device.
Background
Currently, in order to assist in developing content such as relevant documents, example codes, and tool files of an APP (Application), it is often necessary to embed SDKs (Software Development Kit, software development kits) developed by various third parties in the APP.
Wherein, when the SDK needs to be modified, for example, the HTTP (Hyper Text Transfer Protocol ) request in the SDK needs to be modified to the HTTPs (Hyper Text Transfer Protocol over Secure Socket Layer, hypertext transfer protocol on secure socket layer) request, the APP developer needs to contact the SDK provider to modify the SDK, so as to obtain the updated SDK.
However, the inventors have found that some SDKs, due to their long history, may no longer provide modification services, and may not even be able to contact the SDK provider, making it impossible to modify the SDK.
Disclosure of Invention
The embodiment of the invention aims to provide a software development kit modification method, a device and electronic equipment so as to modify an SDK. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a software development kit modification method, which may include:
decompiling a first file to be modified in the software development kit SDK to obtain a source code file corresponding to the first file;
modifying the source code file according to the received modification instruction to obtain a new source code file;
compiling engineering files containing the software development kit SDK and the new source code files to obtain modified second files corresponding to the first files;
and replacing the first file in the SDK with the second file to obtain a modified new SDK.
Optionally, the step of replacing the first file in the SDK with the second file to obtain the modified new SDK may include:
decompressing the SDK to obtain a decompressed file contained in the SDK;
and replacing the first file in the decompressed file by the second file to obtain a modified new SDK.
Optionally, the step of replacing the first file in the decompressed file with the second file to obtain the modified new SDK may include:
replacing the first file in the decompressed files with the second file to obtain new decompressed files;
and compressing the new decompressed file to obtain a modified new SDK.
Optionally, after obtaining the modified second file corresponding to the first file, before the step of replacing the first file in the SDK with the second file to obtain the modified new SDK, the method may further include:
determining a storage path of the compiled file;
a second file stored by the storage path is obtained.
Optionally, the step of decompiling the first file to be modified in the software development kit SDK to obtain a source code file corresponding to the first file includes:
and calling preset decompilation software to decompilate the first file to be modified in the SDK to obtain a source code file corresponding to the first file.
In a second aspect, an embodiment of the present invention further provides a software development kit modification apparatus, where the apparatus may include:
the decompilation module is used for decompiling the first file to be modified in the software development kit SDK to obtain a source code file corresponding to the first file;
the modification module is used for modifying the source code file according to the received modification instruction to obtain a new source code file;
the compiling module is used for compiling engineering files containing the software development kit SDK and the new source code files to obtain modified second files corresponding to the first files;
and the replacing module is used for replacing the first file in the SDK by the second file to obtain a new modified SDK.
Alternatively, in an embodiment of the present invention, the replacing module may include:
the decompression unit is used for decompressing the SDK to obtain a decompressed file contained in the SDK;
and the replacing unit is used for replacing the first file in the decompressed files by the second file to obtain the modified new SDK.
Alternatively, in an embodiment of the present invention, the replacing unit may specifically be configured to:
replacing the first file in the decompressed files with the second file to obtain new decompressed files;
and compressing the new decompressed file to obtain a modified new SDK.
Optionally, in an embodiment of the present invention, the method may further include:
the determining module is used for determining a storage path of the compiled file before the second file is used for replacing the first file in the SDK after the modified second file corresponding to the first file is obtained and the modified new SDK is obtained;
and the obtaining module is used for obtaining the second file stored in the storage path.
Optionally, in an embodiment of the present invention, the decompilation module may specifically be configured to:
and calling preset decompilation software to decompilate the first file to be modified in the SDK to obtain a source code file corresponding to the first file.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the method steps of any software development kit modification method when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, where the readable storage medium is a computer readable storage medium, and a computer program is stored in the readable storage medium, where the computer program when executed by a processor implements method steps of any one of the software development kit modification methods described above.
In a fifth aspect, embodiments of the present invention also provide a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform the method steps of any of the process-activating methods described above.
In the embodiment of the invention, the first file to be modified in the software development kit SDK can be decompiled, so that the source code file corresponding to the first file is obtained. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a software development kit modification method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a software development kit modification device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the technical problems in the prior art, the embodiment of the invention provides a software development kit modification method, a device and electronic equipment.
The following first describes a software development kit modification method provided by an embodiment of the present invention.
It should be noted that, an execution body for executing the software development kit modification method provided by the embodiment of the invention is an electronic device. The electronic device may include: cell phones, computers, smart wearable devices, etc., although not limited thereto. The smart wearable device includes, but is not limited to, a smart watch and a smart bracelet.
Among other things, the SDK (Software Development Kit ) may be used to assist in developing content such as APP (Application) related documents, example code, and tool files.
Referring to fig. 1, the software development kit modification method provided by the embodiment of the present invention may include the following steps:
s101: decompiling a first file to be modified in the software development kit SDK to obtain a source code file corresponding to the first file;
the third party software development kit SDK is often a file in jar (Java Archive) file format. The jar file format file is also called jar package. Java is a computer programming language and jar packages are a collection of class files. Of course, it is reasonable that the third party software development kit SDK may also include files in other file formats.
In addition, the electronic device can call the preset decompilation software to decompil the first file to be modified in the SDK, so that a source code file corresponding to the first file can be obtained.
For example, a predetermined decompilation software may be invoked to decompilate an a.class file (i.e., a first file) to be modified in the SDK, so that an a.java file (i.e., a source code file) corresponding to the a.class file may be obtained. Wherein, the class file is the file in jar package. Thus, decompilation of the A.class file in the jar package can be realized, and the file which can be understood and edited by a developer is obtained.
The pre-set decompilation software includes, but is not limited to: jadx-gui (jadx-graphical user interface). Wherein jadx-gui is an android decompiling tool.
After decompiling to obtain the source code file, in order to facilitate subsequent processing of the source code file, the electronic device may further: file Save as gradle project (saved as gradle project), and the source code File is stored as source code project.
S102: modifying the source code file according to the received modification instruction to obtain a new source code file;
because the decompilation is carried out to obtain the source code file which can be identified by the developer, the developer can modify the source code file according to the own requirement. In this case, the electronic device may receive a modification instruction triggered by the developer, and may modify the source code file according to the modification instruction, so as to obtain a new source code file.
Continuing the above example, after decompiling the a.class file in the jar package, the decompiled a.java file may be modified, so as to obtain a new source code file.
For example, the HTTP (Hyper Text Transfer Protocol ) request in the source code file may be modified to an HTTPs (Hyper Text Transfer Protocol over Secure Socket Layer ) request, although not limited thereto.
S103: compiling engineering files containing the software development kit SDK and the new source code files to obtain modified second files corresponding to the first files;
after obtaining the new source code file, in order to successfully compile the new source code file, the electronic device may compile an engineering file including the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file, that is, an updated a.class file. Wherein the second file is a machine-identifiable file.
Specifically, after the new source code file is obtained, the electronic device may newly build an engineering file in an Android Studio, and add the jar packet and the new source code file to the engineering file. The engineering file is then compiled. After that, a compiled storage path may be determined, and a second file stored under the storage path may be obtained.
For example, the storage path may be: build/intermediaries/classes/debug/corresponding package name, although not limited thereto.
S104: and replacing the first file in the SDK with the second file to obtain a modified new SDK.
Specifically, the electronic device may decompress the SDK first to obtain a decompressed file included in the SDK. Then, the first file in the decompressed files can be replaced by the second file, so that a new decompressed file is obtained. The new decompressed file may then be compressed (i.e., packaged) to obtain a modified new SDK. Thus, the SDK can be modified on the basis that the SDK source code (i.e., jar packet source code) is not available. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
In the embodiment of the invention, the first file to be modified in the software development kit SDK can be decompiled, so that the source code file corresponding to the first file is obtained. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
In summary, the software development kit modification scheme provided by the embodiment of the invention can modify the SDK without depending on the SDK provider, thereby meeting the requirement of an APP developer for modifying the SDK.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a software development kit modification apparatus, referring to fig. 2, the apparatus may include:
decompilation module 201, configured to decompil a first file to be modified in a software development kit SDK to obtain a source code file corresponding to the first file;
the modification module 202 is configured to modify the source code file according to the received modification instruction to obtain a new source code file;
the compiling module 203 is configured to compile an engineering file including the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file;
and a replacing module 204, configured to replace the first file in the SDK with the second file, to obtain a modified new SDK.
By applying the device provided by the embodiment of the invention, the first file to be modified in the software development kit SDK can be decompiled, so that the source code file corresponding to the first file is obtained. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
Alternatively, in an embodiment of the present invention, the replacement module 204 may include:
the decompression unit is used for decompressing the SDK to obtain a decompressed file contained in the SDK;
and the replacing unit is used for replacing the first file in the decompressed files by the second file to obtain the modified new SDK.
Alternatively, in an embodiment of the present invention, the replacing unit may specifically be configured to:
replacing the first file in the decompressed files with the second file to obtain new decompressed files;
and compressing the new decompressed file to obtain a modified new SDK.
Optionally, in an embodiment of the present invention, the method may further include:
the determining module is used for determining a storage path of the compiled file before the second file is used for replacing the first file in the SDK after the modified second file corresponding to the first file is obtained and the modified new SDK is obtained;
and the obtaining module is used for obtaining the second file stored in the storage path.
Optionally, in an embodiment of the present invention, the decompilation module 201 may specifically be configured to:
and calling preset decompilation software to decompilate the first file to be modified in the SDK to obtain a source code file corresponding to the first file.
Corresponding to the above-mentioned method embodiments, the present invention further provides an electronic device, referring to fig. 3, where the electronic device may include a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete communication with each other through the communication bus 304;
a memory 303 for storing a computer program;
the processor 301 is configured to implement the method steps of any one of the software development kit modification methods described above when executing the program stored in the memory 303.
In the embodiment of the invention, the electronic equipment can decompil the first file to be modified in the software development kit SDK, so as to obtain the source code file corresponding to the first file. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
Corresponding to the above method embodiments, the embodiment of the present invention further provides a readable storage medium, where the readable storage medium is a computer readable storage medium, and a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, the method steps of any one of the above software development kit modification methods are implemented.
In the embodiment of the invention, after the computer program stored in the storage medium is executed by the processor of the electronic device, the electronic device can decompil the first file to be modified in the software development kit SDK, so as to obtain the source code file corresponding to the first file. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
Corresponding to the above method embodiments, the present invention also provides a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform the method steps of any of the above-described process-activation methods.
After the computer program provided by the embodiment of the invention is executed by the processor of the electronic device, the electronic device can decompil the first file to be modified in the software development kit SDK, so that the source code file corresponding to the first file is obtained. Then, the source code file can be modified according to the received modification instruction to obtain a new source code file. And then, compiling the engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file. In this way, the engineering file is enabled to be compiled. And then, replacing the first file in the SDK with the obtained second file to obtain a new modified SDK. Thus, the SDK can be modified independently of the SDK provider, and the requirement of an APP developer for modifying the SDK is met.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, electronic devices, readable storage media and computer program product embodiments, the description is relatively simple as it is substantially similar to method embodiments, as relevant points are found in the partial description of method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A method for modifying a software development kit, comprising:
when a Software Development Kit (SDK) needs to be modified, decompiling a first file to be modified in the SDK to obtain a source code file corresponding to the first file;
modifying the source code file according to the received modification instruction to obtain a new source code file;
compiling an engineering file containing the software development kit SDK and the new source code file to obtain a modified second file corresponding to the first file;
replacing the first file in the SDK with the second file to obtain a modified new SDK;
the step of replacing the first file in the SDK with the second file to obtain a modified new SDK includes:
decompressing the SDK to obtain a decompressed file contained in the SDK;
and replacing the first file in the decompressed file by the second file to obtain a modified new SDK.
2. The method of claim 1, wherein the step of replacing the first file in the decompressed file with the second file results in a modified new SDK, comprising:
replacing the first file in the decompressed files with the second file to obtain new decompressed files;
and compressing the new decompressed file to obtain a modified new SDK.
3. The method of claim 1, further comprising, after obtaining a modified second file corresponding to the first file, before the step of replacing the first file in the SDK with the second file to obtain a modified new SDK:
determining a storage path of the compiled file;
and obtaining the second file stored by the storage path.
4. The method according to any one of claims 1 to 3, wherein the step of decompiling a first file to be modified in the software development kit SDK to obtain a source code file corresponding to the first file includes:
and calling preset decompilation software to decompilate the first file to be modified in the SDK to obtain a source code file corresponding to the first file.
5. A software development kit modification apparatus, comprising:
the decompilation module is used for decompiling a first file to be modified in the software development kit SDK when the software development kit SDK needs to be modified, so as to obtain a source code file corresponding to the first file;
the modification module is used for modifying the source code file according to the received modification instruction to obtain a new source code file;
the compiling module is used for compiling engineering files containing the software development kit SDK and the new source code files to obtain modified second files corresponding to the first files;
a replacing module, configured to replace the first file in the SDK with the second file to obtain a modified new SDK;
the replacement module includes:
the decompression unit is used for decompressing the SDK to obtain a decompressed file contained in the SDK;
and the replacing unit is used for replacing the first file in the decompressed file by the second file to obtain a modified new SDK.
6. The device according to claim 5, wherein the substitution unit is specifically configured to:
replacing the first file in the decompressed files with the second file to obtain new decompressed files;
and compressing the new decompressed file to obtain a modified new SDK.
7. The apparatus as recited in claim 5, further comprising:
the determining module is used for determining a storage path of the compiled file before the second file is used for replacing the first file in the SDK after the modified second file corresponding to the first file is obtained and the modified new SDK is obtained;
and the obtaining module is used for obtaining the second file stored in the storage path.
8. The apparatus according to any one of claims 5-7, wherein the decompilation module is specifically configured to:
and calling preset decompilation software to decompilate the first file to be modified in the SDK to obtain a source code file corresponding to the first file.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1-4 when executing a program stored on a memory.
10. A readable storage medium, characterized in that it has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-4.
CN201910365107.9A 2019-04-30 2019-04-30 Software development tool package modification method and device and electronic equipment Active CN110083344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910365107.9A CN110083344B (en) 2019-04-30 2019-04-30 Software development tool package modification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910365107.9A CN110083344B (en) 2019-04-30 2019-04-30 Software development tool package modification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110083344A CN110083344A (en) 2019-08-02
CN110083344B true CN110083344B (en) 2023-07-21

Family

ID=67418371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910365107.9A Active CN110083344B (en) 2019-04-30 2019-04-30 Software development tool package modification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110083344B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732321B (en) * 2021-01-21 2024-02-09 恒为科技(上海)股份有限公司 Firmware modification method, device, computer readable storage medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185606A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Overlay mechanism-based apk development method and system
CN107589947A (en) * 2017-08-02 2018-01-16 成都极娱网络科技有限公司 A kind of SDK cut-in methods, client and system
CN108427552A (en) * 2018-03-01 2018-08-21 深圳市创梦天地科技有限公司 Android application installation package producing device, method, electronic equipment and storage medium
CN108595187A (en) * 2018-03-27 2018-09-28 北京美好人生伙伴信息技术有限公司 Method, device and the storage medium of Android installation kit integrated software development kit
CN108897562A (en) * 2018-06-27 2018-11-27 腾讯科技(深圳)有限公司 Installation kit update method, device, medium and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185606A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Overlay mechanism-based apk development method and system
CN107589947A (en) * 2017-08-02 2018-01-16 成都极娱网络科技有限公司 A kind of SDK cut-in methods, client and system
CN108427552A (en) * 2018-03-01 2018-08-21 深圳市创梦天地科技有限公司 Android application installation package producing device, method, electronic equipment and storage medium
CN108595187A (en) * 2018-03-27 2018-09-28 北京美好人生伙伴信息技术有限公司 Method, device and the storage medium of Android installation kit integrated software development kit
CN108897562A (en) * 2018-06-27 2018-11-27 腾讯科技(深圳)有限公司 Installation kit update method, device, medium and equipment

Also Published As

Publication number Publication date
CN110083344A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN106569794B (en) Application program development device
KR102281052B1 (en) Mobile terminal application update method and apparatus
CN110502222B (en) AAR method, apparatus, medium, and device for outbound dependency on internal base repository
CN107092475B (en) Calling method and device of interactive control
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN106055375B (en) Application program installation method and device
CN107402792B (en) Integration method, device, equipment and storage medium of application software installation package
CN106775781B (en) Method and device for reducing application installation packages and electronic equipment
WO2020177429A1 (en) Method and apparatus for embedding codes in application, and electronic device
CN111625260A (en) Method and system based on mixed mobile application program upgrading
CN107977274B (en) SDK calling control method and device
CN110083344B (en) Software development tool package modification method and device and electronic equipment
CN112114789B (en) Service development method and equipment
CN109508249B (en) Crash processing method and device and electronic equipment
CN112015384A (en) Interface mapping method and device
CN113127000B (en) Compiling method, compiling device, compiling equipment and compiling storage medium for application program component
CN110941443B (en) Method and device for modifying file name in SDK (software development kit) and electronic equipment
CN110442353B (en) Installation package management method and device and electronic equipment
CN111338708A (en) Application program processing method, client and system based on android plug-in
CN113204344B (en) Information acquisition method and device for front-end development
WO2020044093A1 (en) Application program programming interface calling method and apparatus therefor
CN110502251B (en) Application installation method and device
CN109947420B (en) Method for realizing shortcut key mechanism of code editor and electronic equipment
CN113672470A (en) Interface monitoring method, device, equipment and medium
CN112965697A (en) Code file generation method and device and electronic equipment

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