Start contributing with Android Library & JetPack

How to create and publish an Android Library

Write once and use in every project -with GitHub & JetPack

Siva Ganesh Kantamani
7 min readOct 8, 2019

--

  1. What is the necessity of the Android library
  2. Create an Android library
  3. Create an empty repository in GitHub
  4. Upload code to GitHub repository
  5. Create a Release in GitHub
  6. Open the git-repository in JitPack
  7. Generate JitPack Library
  8. Importing JitPack Library into a new project
  9. Updating GitHub repository & JitPack library
  10. Useful links

What is the necessity of the Android library

Android library is structurally same as an android app with resource files, source code, manifest file and so on. However, instead of compiling into an APK, an Android library compiles into an Android Archive (AAR) file that you can use as a dependency so that we don’t need to create or write the same…

--

--