• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    Ruby
  • License
    Apache License 2.0
  • Created about 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Find Android sources

Welcome πŸ‘‹

Developers write better apps when they can read the source. Unfortunately, the sources for the Android framework and various Google Android libraries are scattered all over the web.

This page helps Android developers find the sources they're looking for.

πŸ€” Something missing? Report or edit.

Libraries

Jetpack

ConstraintLayout / MotionLayout

Espresso / Android Test

Data Binding

  • Latest sources are browsable on cs.android.com
  • When a release is stable, its sources are synced to cs.android.com/android on the studio-master-dev branch.
    • πŸ‘ŽπŸ”Ž Release version is not searchable online: the studio-master-dev branch is not indexed.

Material Components for Android

Dagger 2

The Android Framework

What if it's a new version, sources not available yet?

  • Start an emulator for the latest version.
  • Run adb pull /system/framework/framework.jar.
  • Unzip framework.jar (contains dexes).
  • Use dex2jar to turn dexes into jars.
  • Explore with jd-gui or IntelliJ (hack: add as a dependency)

Android Studio

  • Latest sources are browsable on cs.android.com.
  • When a release is stable, its sources are synced to cs.android.com/android on the studio-master-dev branch.
    • πŸ‘ŽπŸ”Ž Release version is not searchable online: the studio-master-dev branch is not indexed.

Android Gradle Plugin (AGP)

  • Latest sources are browsable on cs.android.com.
  • When a release is stable, its sources are synced to cs.android.com/android on the studio-master-dev branch.
    • πŸ‘ŽπŸ”Ž Release version is not searchable online: the studio-master-dev branch is not indexed.
  • @jrodbx dumped the sources for each release on github.
    • The sources are dumped from Maven Central.

Kotlin

  • Sources for the Kotlin compiler and standard lib are on GitHub.

Firebase

Bazel

Bazel is a build tool maintained by Google but not part of the official Android toolchain. Some Android devs begrudgingly use it.

Skia

Skia is a 2D graphics library used by Android and Compose Desktop. On Android it's always been used for software rendering, and is used for hardware rendering except from Android 3.0 to 9.0.

Google Play Services

  • Play Services is not open source. I added this entry because people keep asking about it πŸ˜….
    • A small number of Gradle plugins related to Play Services, including strict-version-matcher-plugin, oss-licenses-plugin, and google-services-plugin, have been open sourced on GitHub.

More Repositories

1

fragnums

An enum based library to replace fragments.
Java
578
star
2

frenchtoast

Stale Android Toasts made tasty.
Java
363
star
3

shipfaster

Dagger + Otto + Retrofit + Robolectric + Picasso + OkHttp
Java
328
star
4

CleanAndroidCode

ALL YOUR LIB ARE BELONG TO US
Java
173
star
5

SharkApp

Kotlin
42
star
6

diy

Kotlin
40
star
7

BuilderGen

Automatically generated builders
Java
31
star
8

pyricau.github.com

p-y.wtf static website
30
star
9

CatchLeaks

Bring your laptops and your investigative skills, we're going on a memory leak hunt!
Kotlin
29
star
10

dagger2-mortar-flow-experiment

Experimental hack to get Dagger 2, Mortar and Flow to work together
Java
26
star
11

FunkyJFunctional

A funky way to use functional programming in Java
Java
21
star
12

simpleperf-cleanup

Kotlin
18
star
13

androidannotations-dagger-example

An example of how to integrate AndroidAnnotations with Dagger. Experimental.
Java
16
star
14

toohardforyou

2H4U, which stands for Too Hard For You, is a mix between a Tetris-like game and a wall breaker.
Java
14
star
15

rockslide

Rockslide generates dynamic presentations
JavaScript
13
star
16

handler-thread-leaks

A simple projects that reproduces HandlerThread leaks
Kotlin
9
star
17

slides-formation-gwt

GWT Webapp based slides for the GWT training
Java
6
star
18

neveridle

Kotlin
5
star
19

TechTrekSummer2014

An app that consumes data from govtrack.us
Java
4
star
20

bisouland

Jeu par navigateur, volez des points d'amour Γ  vos adversaires en leur envoyant des bisous !
PHP
4
star
21

waste-o-meter

Android application to compute the cost of waiting for your computer
Java
3
star
22

express-board-android

Repository for eXpress JobZ, an Android client for two french Job Boards
Java
3
star
23

FormationAndroid

Repo pour les TP de la formation Android
Java
3
star
24

DevoxxBeerCounter

App for AA talk at Devoxx 2012
Java
2
star
25

excilys-teaser-formation-gwt

Mini site pour les inscriptions Γ  la formation GWT
2
star
26

cv-piwai

My online GWT Curriculum Vitae
Java
2
star
27

maven-forplay-archetype

A Maven archetype to quickly get started with ForPlay
Java
2
star
28

leakcanary-shell

An empty shell app to inject LeakCanary into other APKs
2
star
29

forplay-clone-pyricau

Clone to test forplay
Java
2
star
30

greenhouse-androidannotations

Porting greenhouse-android to AndroidAnnotations
Java
1
star
31

chromium-webview-leak

Repo that reproduces a Chromium Webview memory leak
Kotlin
1
star
32

androidannotations-scoping

A fake Android project that demonstrate how scoping would look like if implemented in AndroidAnnotations
Java
1
star
33

french-keyboard-putain

Type French in One Word
Java
1
star
34

fosdem-sms

Java
1
star
35

deRPC-big-payload

Sample demo GWT project to show how deRPC can generate big payloads
1
star
36

Formalys

App liΓ©e Γ  la gestion des formations Excilys
Java
1
star
37

BugAptEclipse

Reproduces a bug in Eclipse + APT
Java
1
star
38

slides-gwt-android-intro

Slides for a GWT & Android presentation at INSA Rouen
Java
1
star
39

speakerz

Java
1
star
40

maven-aa-apt-eclipse

Sample project using AA and annotation processing, trying to set everything right on Eclipse.
Java
1
star