Software package compiling method and device

A compiling method and software package technology, applied in the direction of code compilation, decompilation/disassembly, program code conversion, etc., can solve problems such as failure to recompile the application package

Active Publication Date: 2021-06-01
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
  • Software package compiling method and device
  • Software package compiling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0045] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such th...

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 invention discloses a software package compiling method and device. The method comprises the steps: searching for a decompiling entry and a recompiling entry; adding a target compilation log in the decompilation entry and the recompilation entry, forming a target decompilation tool, wherein the target compilation log is used for searching for a log error reporting position after recompilation is completed; performing decompilation and recompilation by using a target decompilation tool, and determining an error report log positioning result; searching an application programming interface staying at the target node in an error log positioning result; and deleting the preset format path under the condition that the file path stored in the application programming interface comprises the preset format path. The software package compiling method can prevent the character string of the decompiling tool from exceeding the system limit.

Description

technical field [0001] The present application relates to the field of computer technology, 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 the application software Way. [0003] In practical applications, the decompilation tool Apktool needs to use the command line to run and analyze the application software package. After modifying the contents of the application software package and using the tool to restore the application software package, some application software will report errors. 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...

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
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