Android created by Github repository for other projects rely on references

I. Introduction

We usually rely on Android development process, many third-party libraries, in the development process, we have accumulated a number of public libraries also wanted to give others to use, how to create Android library, others rely on references to it?

Second, the realization

The first step: to host your own project on Github.

Step two: Click releases.

Here Insert Picture Description

Step 3: Create release.

If you have not been to create a release, then click on the [Create a new release];
Here Insert Picture Description
if you create too before release, then click [Draft a new release].
Here Insert Picture Description

Step Four: Fill the version number, name, and description information.

Here Insert Picture Description

Step Five: Click [Publish release].

Here Insert Picture Description

Step Six: Copy the project path.

Here Insert Picture Description

Step Seven: Open https://jitpack.io website.

Paste the project path in the input box, and click [Look up], then click [Get it].
Here Insert Picture Description

Step Eight: your own Android library now created.

Follow the instructions, you can rely on references to your library by following the way in other projects.
Here Insert Picture Description

Published 100 original articles · won praise 45 · views 640 000 +

Guess you like

Origin blog.csdn.net/wangzhongshun/article/details/105059067