CN110083344A - Software development kit modification method and device and electronic equipment - Google Patents

Software development kit modification method and device and electronic equipment Download PDF

Info

Publication number
CN110083344A
CN110083344A CN201910365107.9A CN201910365107A CN110083344A CN 110083344 A CN110083344 A CN 110083344A CN 201910365107 A CN201910365107 A CN 201910365107A CN 110083344 A CN110083344 A CN 110083344A
Authority
CN
China
Prior art keywords
file
sdk
modified
new
software development
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
CN201910365107.9A
Other languages
Chinese (zh)
Other versions
CN110083344B (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 software development kit modification 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 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; and replacing the first file in the SDK with the second file to obtain a modified new SDK. Therefore, the SDK can be modified without depending on an SDK provider, and the requirement of an APP developer for modifying the SDK is met.

Description

A kind of Software Development Kit amending method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of Software Development Kit amending method, device and Electronic equipment.
Background technique
Currently, for relevant documentation, code sample and the tool text of auxiliary development APP (Application, application program) The contents such as part, it is often necessary to SDK (Software Development Kit, the software of various third party's exploitations are embedded in APP Development kit).
Wherein, it when needing to modify SDK, such as needs HTTP (the Hyper Text Transfer in SDK Protocol, hypertext transfer protocol) it requests to be revised as HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, the hypertext transfer protocol in security socket layer) request when, APP developer needs to contact SDK supplier modifies to SDK, to obtain updated SDK.
But inventor has found in the implementation of the present invention, some SDK are since history is more long, SDK supplier Modification service may be no longer provided, or even SDK supplier can not be got in touch with, so that can not modify to SDK.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of Software Development Kit amending method, device and electronic equipment, To realize the modification to SDK.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of Software Development Kit amending method, this method may include:
Decompiling is carried out to the first file to be modified in Software Development Kit SDK, is obtained corresponding to the first file Sound code file;
It is modified according to the modification instruction received to sound code file, obtains new sound code file;
Project file comprising Software Development Kit SDK and new sound code file is compiled, the first file institute is obtained Corresponding modified second file;
Using the first file in the second file replacement SDK, modified new SDK is obtained.
Optionally, the step of replacing the first file in SDK using the second file, obtaining modified new SDK, can wrap It includes:
SDK is decompressed, decompressing files included in SDK is obtained;
Using the first file in the second file replacement decompressing files, modified new SDK is obtained.
Optionally, the step of replacing the first file in decompressing files using the second file, obtaining modified new SDK, May include:
Using the first file in the second file replacement decompressing files, new decompressing files is obtained;
New decompressing files is compressed, modified new SDK is obtained.
Optionally, it after obtaining modified second file corresponding to the first file, is replaced using the second file The first file in SDK can also include: before the step of obtaining modified new SDK
The store path of file after determining compiling;
Obtain the second file that store path is stored.
Optionally, decompiling is carried out to the first file to be modified in Software Development Kit SDK, obtains the first file institute The step of corresponding sound code file, comprising:
It calls preset decompiling software to carry out decompiling to the first file to be modified in SDK, obtains the first file institute Corresponding sound code file.
Second aspect, the embodiment of the invention also provides a kind of Software Development Kit to modify device, which can wrap It includes:
Decompilation module obtains for carrying out decompiling to the first file to be modified in Software Development Kit SDK Sound code file corresponding to one file;
Modified module obtains new sound code file for modifying according to the modification instruction received to sound code file;
Collector is obtained for being compiled to the project file comprising Software Development Kit SDK and new sound code file To modified second file corresponding to the first file;
Replacement module, for obtaining modified new SDK using the first file in the second file replacement SDK.
Optionally, in embodiments of the present invention, replacement module may include:
Decompression units obtain decompressing files included in SDK for decompressing to SDK;
Replacement unit, for obtaining modified new SDK using the first file in the second file replacement decompressing files.
Optionally, in embodiments of the present invention, replacement unit specifically can be used for:
Using the first file in the second file replacement decompressing files, new decompressing files is obtained;
New decompressing files is compressed, modified new SDK is obtained.
Optionally, in embodiments of the present invention, can also include:
Determining module, for utilizing the second text after obtaining modified second file corresponding to the first file Part replaces the first file in SDK, before obtaining modified new SDK, the store path of the file after determining compiling;
Obtain module, the second file stored for obtaining store path.
Optionally, in embodiments of the present invention, decompilation module specifically can be used for:
It calls preset decompiling software to carry out decompiling to the first file to be modified in SDK, obtains the first file institute Corresponding sound code file.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, including processor, communication interface, memory And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes that any of the above-described Software Development Kit is repaired Change the method and step of method.
Fourth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, which is computer Readable storage medium storing program for executing is stored with computer program in the readable storage medium storing program for executing, realizes when computer program is executed by processor State the method and step of any one Software Development Kit amending method.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is in electronics When being run in equipment, so that electronic equipment executes the method and step that any of the above-described process draws activating method.
In embodiments of the present invention, decompiling can be carried out to the first file to be modified in Software Development Kit SDK, To obtain sound code file corresponding to first file.It is then possible to be instructed according to the modification received to the sound code file It modifies, obtains new sound code file.It later, can be to the work comprising Software Development Kit SDK and the new sound code file Journey file is compiled, and obtains modified second file corresponding to first file.In this way, enabling the project file Pass through compiling.Later, the first file in the SDK is replaced using obtained second file, obtains modified new SDK.This Sample can modify to SDK independent of SDK supplier, meet the demand that APP developer modifies SDK.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of Software Development Kit amending method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram that a kind of Software Development Kit provided in an embodiment of the present invention modifies device;
Fig. 3 provides the structural schematic diagram of a kind of electronic equipment for the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to solve the technical problems existing in the prior art, the embodiment of the invention provides a kind of Software Development Kit Amending method, device and electronic equipment.
Software Development Kit amending method provided in an embodiment of the present invention is illustrated first below.
It should be noted that the executing subject for executing Software Development Kit amending method provided in an embodiment of the present invention is Electronic equipment.The electronic equipment may include: mobile phone, computer and intelligent wearable device etc., be not limited thereto certainly.Wherein, Intelligent wearable device includes but is not limited to smartwatch and Intelligent bracelet.
Wherein, SDK (Software Development Kit, Software Development Kit) can be used for auxiliary development APP The contents such as relevant documentation, code sample and the Tool-file of (Application, application program).
Referring to Fig. 1, Software Development Kit amending method provided in an embodiment of the present invention be may include steps of:
S101: carrying out decompiling to the first file to be modified in Software Development Kit SDK, and it is right to obtain the first file institute The sound code file answered;
Third party software development kit SDK usually from jar (Java Archive, Java archive) file format text Part.Wherein, the file of jar file format is also referred to as jar packet.Java is a kind of computer program programming language, and jar packet is .class the set of (class) file.Certainly, it also may include alternative document format in third party software development kit SDK File, this is all reasonable.
In addition, electronic equipment can call preset decompiling software is counter to the first file to be modified in SDK to be compiled It translates, so as to obtain sound code file corresponding to the first file.
For example, preset decompiling software can be called to A.class file (the i.e. first text to be modified in SDK Part) decompiling is carried out, so as to obtain A.Java file (i.e. sound code file) corresponding to A.class file.Wherein, A.class file is the file in jar packet.In this manner it is achieved that carrying out decompiling to the A.class file in jar packet, obtain Developer it will be appreciated that edlin of going forward side by side file.
Wherein, which includes but is not limited to: jadx-gui (jadx- graphic user interface). Wherein, jadx-gui is a Android decompiling instrument.
After decompiling obtains sound code file, the sound code file is handled for the ease of subsequent, electronic equipment is also Operation: File (file) -> Save as gradle project (saving as gradle engineering) can be passed through, by sound code file It is stored as source code engineering.
S102: it is modified according to the modification instruction received to sound code file, obtains new sound code file;
It is the file that developer can identify since decompiling obtains sound code file, thus developer can be according to certainly The demand of body modifies to sound code file.In that case, what electronic equipment can receive that developer triggered repairs Change instruction, and can be instructed according to the modification and be modified to sound code file, to obtain new sound code file.
Continue above-mentioned example, after carrying out decompiling to the A.class file in jar packet, decompiling can also be obtained A.Java file modify, to obtain new sound code file.
It for example, can be by HTTP (Hyper Text Transfer Protocol, the hypertext biography in sound code file Defeated agreement) request be revised as HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, Hypertext transfer protocol in security socket layer) request, it is not limited thereto certainly.
S103: being compiled the project file comprising Software Development Kit SDK and new sound code file, obtains the first text Modified second file corresponding to part;
Wherein, after obtaining new sound code file, in order to the new sound code file of successful com, electronic equipment can be to packet The project file of SDK containing Software Development Kit and new sound code file is compiled, after obtaining modification corresponding to the first file The second file, it can obtain updated A.class file.Wherein, the second file is machine recognizable file.
Specifically, after obtaining new sound code file, electronic equipment can be in Android Studio (Android operating room) New construction file, and above-mentioned jar packet and the new sound code file are added in the project file.Then, to the project file into Row compiling.Later, the store path after can determining compiling, and obtain the second file stored under the store path.
For example, which can be with are as follows:/build (foundation)/intermediates (intermediate)/classes (class)/debug (debugging)/correspondence packet name, is not limited thereto certainly.
S104: using the first file in the second file replacement SDK, modified new SDK is obtained.
Specifically, electronic equipment can first decompress SDK, obtain decompressing files included in SDK.Later, may be used To replace the first file in decompressing files using the second file, to obtain new decompressing files.It later, can be to new decompression text Part is compressed and (is packaged), to obtain modified new SDK.In this way, SDK source code can not obtained (i.e. Jar packet source code) on the basis of modify to SDK.In this way, can be repaired to SDK independent of SDK supplier Change, meets the demand that APP developer modifies SDK.
In embodiments of the present invention, decompiling can be carried out to the first file to be modified in Software Development Kit SDK, To obtain sound code file corresponding to first file.It is then possible to be instructed according to the modification received to the sound code file It modifies, obtains new sound code file.It later, can be to the work comprising Software Development Kit SDK and the new sound code file Journey file is compiled, and obtains modified second file corresponding to first file.In this way, enabling the project file Pass through compiling.Later, the first file in the SDK is replaced using obtained second file, obtains modified new SDK.This Sample can modify to SDK independent of SDK supplier, meet the demand that APP developer modifies SDK.
To sum up, it using Software Development Kit modification provided in an embodiment of the present invention, can be provided independent of SDK Person and can modify to SDK, meet APP developer modify SDK demand.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of Software Development Kit to modify device, Referring to fig. 2, the apparatus may include:
Decompiling mould 201 is obtained for carrying out decompiling to the first file to be modified in Software Development Kit SDK Sound code file corresponding to first file;
Modified module 202 obtains new source code text for modifying according to the modification instruction received to sound code file Part;
Collector 203, for being compiled to the project file comprising Software Development Kit SDK and new sound code file It translates, obtains modified second file corresponding to the first file;
Replacement module 204, for obtaining modified new SDK using the first file in the second file replacement SDK.
It, can be to the first file to be modified in Software Development Kit SDK using device provided in an embodiment of the present invention Decompiling is carried out, to obtain sound code file corresponding to first file.It is then possible to according to the modification instruction pair received The sound code file is modified, and new sound code file is obtained.It later, can be to including Software Development Kit SDK and the new source The project file of code file is compiled, and obtains modified second file corresponding to first file.In this way, making the work Journey file can pass through compiling.Later, the first file in the SDK is replaced using obtained second file, after obtaining modification New SDK.In this way, can modify to SDK independent of SDK supplier, meets APP developer and modify SDK Demand.
Optionally, in embodiments of the present invention, replacement module 204 may include:
Decompression units obtain decompressing files included in SDK for decompressing to SDK;
Replacement unit, for obtaining modified new SDK using the first file in the second file replacement decompressing files.
Optionally, in embodiments of the present invention, replacement unit specifically can be used for:
Using the first file in the second file replacement decompressing files, new decompressing files is obtained;
New decompressing files is compressed, modified new SDK is obtained.
Optionally, in embodiments of the present invention, can also include:
Determining module, for utilizing the second text after obtaining modified second file corresponding to the first file Part replaces the first file in SDK, before obtaining modified new SDK, the store path of the file after determining compiling;
Obtain module, the second file stored for obtaining store path.
Optionally, in embodiments of the present invention, decompilation module 201 specifically can be used for:
It calls preset decompiling software to carry out decompiling to the first file to be modified in SDK, obtains the first file institute Corresponding sound code file.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of electronic equipment, referring to Fig. 3, the electricity Sub- equipment may include processor 301, communication interface 302, memory 303 and communication bus 304, wherein processor 301 leads to Believe that interface 302, memory 303 complete mutual communication by communication bus 304;
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes any of the above-described software development work Has the method and step of packet amending method.
In embodiments of the present invention, electronic equipment can to the first file to be modified in Software Development Kit SDK into Row decompiling, to obtain sound code file corresponding to first file.It is then possible to be instructed according to the modification received to this Sound code file is modified, and new sound code file is obtained.It later, can be to including Software Development Kit SDK and the new source code The project file of file is compiled, and obtains modified second file corresponding to first file.In this way, making the engineering File can pass through compiling.Later, the first file in the SDK is replaced using obtained second file, obtained modified New SDK.In this way, can modify to SDK independent of SDK supplier, meets APP developer and modify SDK's Demand.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the readable storages Medium is computer readable storage medium, computer program is stored in the readable storage medium storing program for executing, computer program is by processor The method and step of any of the above-described Software Development Kit amending method is realized when execution.
In embodiments of the present invention, after the computer program stored in storage medium is executed by the processor of electronic equipment, Electronic equipment can carry out decompiling to the first file to be modified in Software Development Kit SDK, to obtain first text Sound code file corresponding to part.It is then possible to modify according to the modification instruction received to the sound code file, new source is obtained Code file.Later, the project file comprising Software Development Kit SDK and the new sound code file can be compiled, is obtained To modified second file corresponding to first file.In this way, the project file is enabled to pass through compiling.Later, sharp The first file in the SDK is replaced with obtained second file, obtains modified new SDK.In this way, can be independent of SDK supplier and can modify to SDK, meet APP developer modify SDK demand.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced Product, when it runs on an electronic device, so that electronic equipment executes the method and step that any of the above-described process draws activating method.
After computer program provided in an embodiment of the present invention is executed by the processor of electronic equipment, electronic equipment can be to soft The first file to be modified carries out decompiling in part development kit SDK, to obtain the text of source code corresponding to first file Part.It is then possible to modify according to the modification instruction received to the sound code file, new sound code file is obtained.It later, can be with Project file comprising Software Development Kit SDK and the new sound code file is compiled, it is right to obtain first file institute Modified second file answered.In this way, the project file is enabled to pass through compiling.Later, obtained second text is utilized Part replaces the first file in the SDK, obtains modified new SDK.In this way, can be right independent of SDK supplier SDK modifies, and meets the demand that APP developer modifies SDK.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, readable storage medium storing program for executing and computer program product embodiments, since it is substantially similar to the method embodiment, institute To be described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of Software Development Kit amending method characterized by comprising
Decompiling is carried out to the first file to be modified in Software Development Kit SDK, is obtained corresponding to first file Sound code file;
It is modified according to the modification instruction received to the sound code file, obtains new sound code file;
Project file comprising the Software Development Kit SDK and the new sound code file is compiled, obtains described Modified second file corresponding to one file;
First file in the SDK is replaced using second file, obtains modified new SDK.
2. the method according to claim 1, wherein described replaced in the SDK using second file First file, the step of obtaining modified new SDK, comprising:
The SDK is decompressed, decompressing files included in the SDK is obtained;
First file in the decompressing files is replaced using second file, obtains modified new SDK.
3. according to the method described in claim 2, it is characterized in that, described replace the decompressing files using second file In first file, the step of obtaining modified new SDK, comprising:
First file in the decompressing files is replaced using second file, obtains new decompressing files;
The new decompressing files is compressed, modified new SDK is obtained.
4. the method according to claim 1, wherein obtaining modified corresponding to first file After two files, first file in the SDK is replaced using second file described, is obtained modified new Before the step of SDK, further includes:
The store path of file after determining compiling;
Obtain second file that the store path is stored.
5. method according to any of claims 1-4, which is characterized in that described in Software Development Kit SDK The step of first file to be modified carries out decompiling, obtains sound code file corresponding to first file, comprising:
It calls preset decompiling software to carry out decompiling to the first file to be modified in the SDK, obtains first text Sound code file corresponding to part.
6. a kind of Software Development Kit modifies device characterized by comprising
Decompilation module obtains described for carrying out decompiling to the first file to be modified in Software Development Kit SDK Sound code file corresponding to one file;
Modified module obtains new sound code file for modifying according to the modification instruction received to the sound code file;
Collector, for being compiled to the project file comprising the Software Development Kit SDK and the new sound code file It translates, obtains modified second file corresponding to first file;
Replacement module obtains modified new for replacing first file in the SDK using second file SDK。
7. device according to claim 6, which is characterized in that the replacement module includes:
Decompression units obtain decompressing files included in the SDK for decompressing to the SDK;
Replacement unit, for replacing first file in the decompressing files using second file, after obtaining modification New SDK.
8. device according to claim 7, which is characterized in that the replacement unit is specifically used for:
First file in the decompressing files is replaced using second file, obtains new decompressing files;
The new decompressing files is compressed, modified new SDK is obtained.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method step as claimed in any one of claims 1 to 5 Suddenly.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter in the readable storage medium storing program for executing Calculation machine program realizes method and step as claimed in any one of claims 1 to 5 when being executed by processor.
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 true CN110083344A (en) 2019-08-02
CN110083344B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732321A (en) * 2021-01-21 2021-04-30 恒为科技(上海)股份有限公司 Firmware modification method and 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN110083344B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN107450941B (en) Automatic packaging method, device, storage medium and computer equipment
KR102281052B1 (en) Mobile terminal application update method and apparatus
CN108376073B (en) Test software package generation method and terminal
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN106569856B (en) A kind of loading method and device of application view resource file
CN107678750A (en) A kind of SDK packaging methods, computing device and SDK packaging systems
CN108763060A (en) Native layers of collapse source tracing method, device, storage medium and terminal in android system
CN102023856A (en) Method for outputting and operating data at server in formatting way according to demands of user
WO2020252081A1 (en) Systems and methods for robotic process automation
CN112395253B (en) Index file generation method, terminal device, electronic device and medium
CN107203465A (en) System interface method of testing and device
CN111026439A (en) Application program compatibility method, device, equipment and computer storage medium
US20140310724A1 (en) Testing system with methodology for background application control
CN112631590A (en) Component library generation method and device, electronic equipment and computer readable medium
CN112527386B (en) Application program issuing method and device
KR20180061589A (en) Software build system and software build method using the system
CN112114789B (en) Service development method and equipment
CN111400716A (en) Security mechanism verification method based on operating system
CN110083344A (en) Software development kit modification method and device and electronic equipment
CN107016262A (en) Application program right management method and client
CN112130888A (en) Method, device and equipment for updating application program and computer storage medium
EP3005087A1 (en) Declarative configuration elements
CN108009084B (en) Testing method, device and system for hybrid mobile application
KR20130020135A (en) System and method of providing the developer list of developing code simultaneously in an integrated development environment
US10664342B2 (en) Leak protection of executables with debug information

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