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

Method and device for creating Android library module dependency relationship in application development

A technology of application program development and application development, applied in the computer field, can solve the problems of low development efficiency, achieve the effect of improving development efficiency and simplifying the development process

Active Publication Date: 2021-02-05
BEIJING 58 INFORMATION TTECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] This application provides a method and device for creating dependencies of Android library modules in application program development, so as to solve the problem of low development efficiency of existing methods for creating Android library module modules in application program development

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 creating Android library module dependency relationship in application development
  • Method and device for creating Android library module dependency relationship in application development
  • Method and device for creating Android library module dependency relationship in application development

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to dynamically complete the process of creating an Android library module without manually creating it with a visual compiler, the embodiment of the present invention provides a running script that can extract the resource files in the mock AAR during the process of calculating the AAR dependency size in the APP Come out, automatically create an Android library module, and add the extracted resource files into the Android library module, avoiding conflicts when the resource files are directly merged into the resource files of the main project, and the development efficiency is high.

[0060] figure 1 It is a flow chart of a method for creating Android library module dependencies in application program development provided by an embodiment of the present invention. see figure 1 , the embodiment of the present invention provides a method for creating dependencies of Android library modules in application program development. The execution subject is a running sc...

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 invention discloses a method and a device for creating an Android library module dependency relationship in application development, and the method comprises the steps: respectively creating an Android library module folder for each first configuration file under a root directory of an Android application development module; writing dynamic configuration parameters of the Android application development module and dependence parameters required by each Android library module into a first configuration file to simulate each Android library module; and adding the first configuration file ofeach simulated Android library module into the configuration file of a main project and the second configuration file of the Android application development module to establish a dependency relationship, so that the Android application development module of the application and the main project quote the simulated Android library modules according to the dependency relationship. Therefore, according to the method, the Android library modules can be dynamically created, the Android library modules which are automatically created can dynamically depend on configuration of the main engineering andthe Android application development module, and while it is guaranteed that the Android application development module and the main project can be introduced into the Android library modules, the development process is simplified, and the development efficiency is improved.

Description

[0001] This application is a divisional application of a Chinese patent application submitted to the China Patent Office on March 16, 2020, with the application number 202010183863.2, and the title of the invention is "A Method and Device for Creating Android Library Module Dependency in Application Development". technical field [0002] The present application relates to the field of computer technology, in particular to a method and device for creating Android library module dependencies in application program development. Background technique [0003] In the process of automatic analysis and calculation of the AAR (Android Archive) in the APP, one of the links is to mock (simulate) an AAR, that is, to extract only the resource files in the archived AAR file, and then put these The resource files are merged into the resource files of the main project. AAR is a binary archive file of an Android library project, including Java files, resource files, AndroidManifest.xml (conf...

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): G06F8/35G06F8/41G06F8/71
CPCG06F8/35G06F8/433G06F8/71
Inventor 曾鹏
Owner BEIJING 58 INFORMATION TTECH 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