Skip to main content
Section: Library & Open SourceTopics: 2 chaptersPrerequisites: Module 14 (Gradle)

Library & Open Source

Most developers consume libraries. Few publish them. Even fewer contribute upstream. Publishing a library elevates your profile, deepens your understanding of API design, and gives back to the community. Contributing to AOSP / Jetpack is the highest-prestige Android work and one of the strongest signals on a resume.

This section covers both ends:

📦

Building Libraries

Designing public APIs, semantic versioning, Maven Central publishing, JitPack, documentation, multi-platform libraries.

🌍

Open Source Contribution

Contributing to AOSP, Jetpack, third-party libraries. Issue triage, PR etiquette, code review, becoming a committer.

When to publish a library

  1. 01

    You've solved a generic problem 3 times

    If you've written the same retry-with-backoff helper for three different projects, it's a library.

  2. 02

    Your team needs to share code across apps

    Internal libraries — same publishing pipeline, private Maven repo.

  3. 03

    You want to grow your profile / network

    Published libraries with traction (>100 stars, >1k downloads) are powerful resume signals.

  4. 04

    You want to learn API design

    Library authors face design pressure 10× greater than app authors. Sharpens skills.

Why contribute upstream

  • Signal: a Jetpack contribution is interview catnip.
  • Learning: reviewing core-library code teaches patterns you'd never see elsewhere.
  • Influence: your patch affects millions of apps.
  • Recognition: Google credits external contributors in release notes.

Most contributions are small — a doc fix, a missing default, a bug fix. Don't aim for the heroic 5000-line PR on your first attempt.

Chapters