Best Answer: How Do I Publish My Android Library to Github?
Contents

Can I create my own Android library and publish it on GitHub?

To achieve this, we follow the steps below:

  1. Create a new Android app that showcases the library.
  2. Create a new library module within the Android app.
  3. Write the code for your custom library.
  4. Add the library as a dependency to the project.
  5. Publish your library to Github.

How do I publish my Android library?

Publish Library on JitPack

  1. Commit the changes we have done in the library module.
  2. If everything goes well in the previous step, your library is ready to be released! Create a GitHub release or add a git tag and you’re done!
  3. Create a release tag in the GitHub repo.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest