Building and Publishing Android Libraries the Missing Guide
summary
Step-by-step guide to produce a reusable Android library: set up an Android library module (AAR), pick unique Maven coordinates, register a Sonatype account via JIRA and a Bintray open-source repo, use the android Gradle Maven plugin plus Bintray plugin to generate POM, sources and docs, GPG signing of artifacts, upload to Bintray then Bintray sync to Maven Central, and automate with Travis CI using env vars and an emulator that can take ~20 minutes to boot. Includes one-file packaging script, demo app recommendations and common dependency/version pitfalls.
AI-written summary · about
chapters (9)
- 0:00Introduction to Android libraries
- 1:57Open source and community
- 6:14Maven repositories overview
- 12:34Setting up accounts
- 15:46Configuring Android project
- 20:24Automating publishing setup
- 26:51Publishing to repositories
- 28:16CI integration with Travis
- 31:55Q&A session
related talks
26mArchitecting Your Android Library
47mThe definitive guide to Android library development
39mThe definitive guide to Android library development
27mLive Coding: Let’s Build an Android Library
32mWriting Android Libraries
37mAndroid Librarian's Guide: Building Robust Libraries a…
43mLibrary Developer Confidential
43mLibrary Developer Confidential
