Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for eliminating wrong reference control resources

A technology for eliminating errors and resources, which is applied in the field of eliminating error reference control resources, and can solve problems such as inability to resolve error references

Active Publication Date: 2020-09-22
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for eliminating misreferenced control resources, to solve the problem of manual intrusion into the source code to modify misreferences in the prior art, which not only has high requirements for operators, but also cannot Resolve misreferences ahead of time before running

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
  • Method and device for eliminating wrong reference control resources
  • Method and device for eliminating wrong reference control resources
  • Method and device for eliminating wrong reference control resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0053] It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particu...

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 provides a method and a device for eliminating wrong reference control resources. The method comprises the following steps: acquiring an initial byte code generated bycompiling a Java file; adjusting a rule for searching a control according to a control identifier in the initial byte code, wherein the adjusted rule comprises adjusting a control identifier to searchthe control again when the control is not searched, wherein the control indicated by the control identifier used for searching each time has the same name; and generating an executable file accordingto the adjusted initial byte code. By adjusting the byte code, the purpose of modifying the source code can be achieved, so that the source code is prevented from being invaded. When the control resources with the same name exist, the influence caused by wrong reference can be eliminated; before an application program generated according to an executable file runs, the problem of wrong referenceis solved in advance.

Description

technical field [0001] The invention relates to the field of application program development, in particular to a method and device for eliminating wrong reference to control resources. Background technique [0002] Android (Android) is a free and open source operating system based on Linux, and it is also one of the most commonly used operating systems on mobile terminals. An application program (Application, APP for short) applied to Android is generally called an Android APP. In the development process of a traditional Android APP, all business data of the same Android APP are usually packaged into an Android application package (APK for short). Users only need to download and install the APK. [0003] At present, a new Android App development, compilation and release mechanism is widely popular, that is, Android APPBundle. An Android App can be packaged into multiple APKs. For example, a base (Base) APK, multiple dynamic build mode (Dynamic Feature) APKs. Among them,...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3628G06F11/366Y02D10/00
Inventor 况众文
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products