Method and device for compiling Android project

An Android and engineering technology, applied in the computer field, can solve the problems of inability to store difference files, Git warehouse volume expansion, etc., and achieve the effect of reducing volume

Pending Publication Date: 2019-12-10
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Git warehouse is not specially used to store binary files. When storing binary files, you cannot store difference files, and you must store full files every time.
The shared library file is a binary file, and multiple submissions of different versions of the shared library file will cause the Git warehouse to expand rapidly

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 compiling Android project
  • Method and device for compiling Android project
  • Method and device for compiling Android project

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 It shows an exemplary system architecture 100 to which embodiments of the method for compiling an Android project or the device for compiling an Android project of the present application can be applied.

[0030] Such as figure 1 As shown, the system archit...

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 method and a device for compiling an Android project. A specific embodiment of the method comprises the steps of obtaining storage address information of each shared library file depended by a target Android project in a preset Maven warehouse; downloading each shared library file on which the target Android project depends from a preset Maven warehouseaccording to the storage address information; storing each downloaded shared library file into a preset shared library folder corresponding to the target Android project; and compiling the target Android project to obtain an installation file corresponding to the target Android project. According to the implementation mode, the Android project is compiled under the condition that the size of the code warehouse is reduced.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for compiling an Android project. Background technique [0002] If there is a dependency on the shared library file (ie, so file) in the code of the current Android (Android) application, usually in order to speed up the compilation, the shared library file will be stored in the Git code warehouse and compiled from the Git code Download and store shared library files in the warehouse for compilation and use. [0003] However, the Git repository is suitable for storing text files of different versions, and when storing text files, only difference files can be stored, thereby reducing storage space. However, the Git repository is not specially used to store binary files. When storing binary files, you cannot store differential files, and you must store full files every time. The shared library file is a binary file, and multip...

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/41G06F8/61G06F8/71
CPCG06F8/41G06F8/441G06F8/61G06F8/71
Inventor 张志强黄鹏陈泓屹李廷昌
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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