A software package compiling method and device

A compiling method and software package technology, which is applied in code compilation, decompilation/disassembly, program code conversion, etc., and can solve problems such as application software package recompilation failure

Active Publication Date: 2022-06-24
SHANGHAI YIWAN NETWORK SCI & TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The reason is that there are too many resource files stored in the assets folder in some application software packages. When the decompilation tool Apktool is used to analyze the application software package, some files in the assets folder will be recorded in a file named apktool.yml file; when using the tool to restore the application package, the recorded apktool.yml file will be output to the command line, and if there are too many resource files stored in the assets folder, the system will exceed the characters for the command line String length limit, such as exceeding the 260-character string length limit of the Windows 10 command line, exceeding the string length limit will cause the application package to fail to compile

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A software package compiling method and device
  • A software package compiling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0045] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be intercha...

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

PUM

No PUM Login to view more

Abstract

The embodiment of the present application discloses a method and device for compiling a software package, wherein the method includes: searching for a decompilation entry and a recompilation entry; adding a target compilation log to the decompilation entry and the recompilation entry to form a target decompilation tool, the The target compilation log is used to find the location of the log error after the completion of the recompilation; use the target decompilation tool to decompile and recompile, and determine the location result of the error log; find the application programming interface that stays at the target node in the location result of the error log; In the case that the file path saved by the application programming interface includes the path of the preset format, the path of the preset format is deleted. The above software package compilation method can prevent the string of the decompilation tool from exceeding the system limit.

Description

technical field [0001] The present application relates to the field of computer technologies, and in particular, to a method and device for compiling a software package. Background technique [0002] For software R&D technicians, using the decompilation tool Apktool to decompile the application software package, obtain the content in the application software package, and then modify the content in the application software package is a common implementation of modifying application software. Way. [0003] In practical applications, the decompilation tool Apktool needs to use the command line to run and parse the application package. After modifying the content of the application package and using the tool to restore the application package, some application software will report an error. The reason is that there are too many resource files stored in the assets folder in some application packages. When using the decompilation tool Apktool to parse the application package, som...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/41G06F8/53
CPCG06F8/41G06F8/53
Inventor 周明付李芳友
Owner SHANGHAI YIWAN NETWORK SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products