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

Method and system for improving compiling speed of Android project

A project, Android technology, applied in the direction of memory system, program control design, instrument, etc., can solve the problems of low development efficiency, long compilation time, waiting for a long compilation time, etc., and achieve the effect of improving development efficiency and compilation speed

Inactive Publication Date: 2017-03-22
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since all source code files are compiled, the number of compiled files continues to increase as the number of third-party libraries is introduced during the compilation phase, which will eventually make the compilation time very long
However, in the software development and debugging stage, it is necessary to compile and debug continuously, which causes developers to wait for a long time for compilation, so the development efficiency is low

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 system for improving compiling speed of Android project
  • Method and system for improving compiling speed of Android project
  • Method and system for improving compiling speed of Android project

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0060] see figure 1 As shown, the embodiment of the present invention provides a method for improving the Android project compilation speed, comprising the following steps:

[0061] S1. Build a local maven warehouse;

[0062] S2, compiling the source code of the third-party Android project library into a third-party Aar library file;

[0063] S3. Upload the compiled third-party Aar library file to the local maven warehouse;

[0064] S4. Modify the dependency of the third-party Android project to a third-party Aar library file that depends on the local maven warehouse.

[0065] see figure 2 As shown, in step S1, the process of building a local maven warehouse is as follows:

[0066] Step 101, download the compressed package of the nexus source code file;

[0067] Step 102, decompressing the downloaded compressed package to the dir...

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 system for improving compiling speed of an Android project, and relates to the field of Android software development. The method comprises the following steps of establishing a local maven storage; compiling third party Android project library source codes into a third party Aar library file; uploading the compiled third party Aar library file to the local maven storage; and modifying the dependency of the third party Android project into dependency on the third party Aar library file of the local maven storage. By adoption of the method, time of compiling a large number of third party Android project library source codes in the compiling stage is omitted, so that the compiling speed is improved, and the developing efficiency of developers is effectively improved.

Description

technical field [0001] The invention relates to the field of Android software development, in particular to a method and system for improving the compilation speed of Android projects. Background technique [0002] The following is a brief introduction to some technical terms related to Android software development. [0003] Aar library: Aar (Android Archive, Android archive library) package is a binary archive file of an Android library project. The file extension is .Aar, but the file itself is a simple zip file with the following entries: [0004] Third-party Android project library source code: The source code of the third-party Android project's open source code library. [0005] Maven: Maven Project Object Model (POM), a software project management tool that can manage project construction, reporting, and documentation through a small piece of description information. [0006] Nexus: A set of general open source maven warehouse management tools. [0007] IDE: Integ...

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): G06F9/45
CPCG06F8/443
Inventor 张磊
Owner WUHAN DOUYU NETWORK 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