CINXE.COM
platform/frameworks/support - Git at Google
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>platform/frameworks/support - Git at Google</title><link rel="stylesheet" type="text/css" href="/+static/base.css"><link rel="stylesheet" type="text/css" href="/+static/doc.css"><!-- default customHeadTagPart --></head><body class="Site"><header class="Site-header"><div class="Header"><a class="Header-image" href="/"><img src="//www.gstatic.com/images/branding/lockups/2x/lockup_git_color_108x24dp.png" width="108" height="24" alt="Google Git"></a><div class="Header-menu"> <a class="Header-menuItem" href="https://accounts.google.com/AccountChooser?faa=1&service=gerritcodereview&continue=https://android.googlesource.com/login/platform/frameworks/support/">Sign in</a> </div></div></header><div class="Site-content"><div class="Container "><div class="Breadcrumbs"><a class="Breadcrumbs-crumb" href="/?format=HTML">android</a> / <a class="Breadcrumbs-crumb" href="/platform/">platform</a> / <a class="Breadcrumbs-crumb" href="/platform/frameworks/">frameworks</a> / <span class="Breadcrumbs-crumb">support</span></div><div class="CloneRepo"><div class="CloneRepo-title">Clone this repo:</div><input id="clone-repo-input" type="text" class="u-monospace CloneRepo-command" readonly="readonly" value="git clone https://android.googlesource.com/platform/frameworks/support"></div><div class="RepoShortlog"><div class="RepoShortlog-refs"><div class="RefList RefList--responsive"><h3 class="RefList-title">Branches</h3><ul class="RefList-items"><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-main">androidx-main</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/android-arch-navigation-release">android-arch-navigation-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/android-arch-work-release">android-arch-work-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/android-room-release">android-room-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-1.0-dev">androidx-1.0-dev</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-activity-release">androidx-activity-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-androidx-tv-material-release">androidx-androidx-tv-material-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-annotation-annotation-experimental-release">androidx-annotation-annotation-experimental-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-annotation-release">androidx-annotation-release</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/heads/androidx-appcompat-release">androidx-appcompat-release</a></li></ul></div><a href="/platform/frameworks/support/+refs">More...</a><div class="RefList RefList--responsive"><h3 class="RefList-title">Tags</h3><ul class="RefList-items"><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-cts-9.0_r20">android-cts-9.0_r20</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-wear-9.0.0_r34">android-wear-9.0.0_r34</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-cts-9.0_r19">android-cts-9.0_r19</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-o-mr1-iot-release-smart-display-r40.1J">android-o-mr1-iot-release-smart-display-r40.1J</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-security-9.0.0_r76">android-security-9.0.0_r76</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19">android-vts-9.0_r19</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-cts-9.0_r18">android-cts-9.0_r18</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-cts-8.1_r25">android-cts-8.1_r25</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-security-9.0.0_r75">android-security-9.0.0_r75</a></li><li class="RefList-item"><a href="/platform/frameworks/support/+/refs/tags/android-security-9.0.0_r74">android-security-9.0.0_r74</a></li></ul></div><a href="/platform/frameworks/support/+refs">More...</a></div><div class="RepoShortlog-log"><ol class="CommitLog"><li class="CommitLog-item CommitLog-item--androidOneline"><a class="u-sha1 u-monospace CommitLog-sha1" href="/platform/frameworks/support/+/07a69459e26fb2151a4080008a339cb9649c82fb">07a6945</a> <a href="/platform/frameworks/support/+/07a69459e26fb2151a4080008a339cb9649c82fb">Merge "Support RouteControllerOptions with MediaRoute1 providers" into androidx-main</a> <span class="CommitLog-author" title="shenqiuz@google.com">by Shenqiu Zhang</span> <span class="CommitLog-time" title="Sun Nov 24 01:59:06 2024 +0000">路 4 hours ago</span> <a class="CommitLog-branchLabel" href="/platform/frameworks/support/+/refs/heads/androidx-main">androidx-main</a></li><li class="CommitLog-item CommitLog-item--androidOneline"><a class="u-sha1 u-monospace CommitLog-sha1" href="/platform/frameworks/support/+/9be55e65e3a7568a33c3a46225d66608f61ca192">9be55e6</a> <a href="/platform/frameworks/support/+/9be55e65e3a7568a33c3a46225d66608f61ca192">Support RouteControllerOptions with MediaRoute1 providers</a> <span class="CommitLog-author" title="shenqiuz@google.com">by Shenqiu Zhang</span> <span class="CommitLog-time" title="Tue Nov 19 20:41:39 2024 +0000">路 4 days ago</span></li><li class="CommitLog-item CommitLog-item--androidOneline"><a class="u-sha1 u-monospace CommitLog-sha1" href="/platform/frameworks/support/+/38896d06cccbcee508049ea93036e0aea394b90e">38896d0</a> <a href="/platform/frameworks/support/+/38896d06cccbcee508049ea93036e0aea394b90e">Merge "Fix test failure from 2 crossing changes" into androidx-main</a> <span class="CommitLog-author" title="android-test-infra-autosubmit@system.gserviceaccount.com">by Treehugger Robot</span> <span class="CommitLog-time" title="Sat Nov 23 02:13:37 2024 +0000">路 28 hours ago</span></li><li class="CommitLog-item CommitLog-item--androidOneline"><a class="u-sha1 u-monospace CommitLog-sha1" href="/platform/frameworks/support/+/dd83c7c63ec6b8dec90b03df94de67a155bb4d9d">dd83c7c</a> <a href="/platform/frameworks/support/+/dd83c7c63ec6b8dec90b03df94de67a155bb4d9d">Merge "add final test coverage for public APIs" into androidx-main</a> <span class="CommitLog-author" title="android-test-infra-autosubmit@system.gserviceaccount.com">by Treehugger Robot</span> <span class="CommitLog-time" title="Sat Nov 23 01:17:37 2024 +0000">路 29 hours ago</span></li><li class="CommitLog-item CommitLog-item--androidOneline"><a class="u-sha1 u-monospace CommitLog-sha1" href="/platform/frameworks/support/+/aaa65087f5c9aa269396cc3583ce9aca95f008ac">aaa6508</a> <a href="/platform/frameworks/support/+/aaa65087f5c9aa269396cc3583ce9aca95f008ac">Fix test failure from 2 crossing changes</a> <span class="CommitLog-author" title="jlauridsen@google.com">by Jens Ole Lauridsen</span> <span class="CommitLog-time" title="Fri Nov 22 16:29:39 2024 -0800">路 29 hours ago</span></li></ol><nav class="LogNav"><a class="LogNav-next" href="/platform/frameworks/support/+log">More »</a></nav><div class="doc RepoIndexDoc"><h1><a class="h" name="Android-Jetpack" href="#Android-Jetpack"><span></span></a><a class="h" name="android-jetpack" href="#android-jetpack"><span></span></a>Android Jetpack</h1><p><a href="https://ge.androidx.dev"><img src="https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A" alt="Revved up by Develocity" /></a></p><p>Jetpack is a suite of libraries, tools, and guidance to help developers write high-quality apps easier. These components help you follow best practices, free you from writing boilerplate code, and simplify complex tasks, so you can focus on the code you care about.</p><p>Jetpack comprises the <code class="code">androidx.*</code> package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more frequently than the Android platform, making sure you always have access to the latest and greatest versions of the Jetpack components.</p><p>Our official AARs and JARs binaries are distributed through <a href="https://maven.google.com">Google Maven</a>.</p><p>You can learn more about using it from <a href="https://developer.android.com/jetpack">Android Jetpack landing page</a>.</p><h1><a class="h" name="Contribution-Guide" href="#Contribution-Guide"><span></span></a><a class="h" name="contribution-guide" href="#contribution-guide"><span></span></a>Contribution Guide</h1><p>For contributions via GitHub, see the <a href="+/HEAD/CONTRIBUTING.md">GitHub Contribution Guide</a>.</p><p>Note: The contributions workflow via GitHub is currently experimental - only contributions to the following projects are being accepted at this time:</p><ul><li><a href="+/HEAD/activity">Activity</a></li><li><a href="+/HEAD/appcompat">AppCompat</a></li><li><a href="+/HEAD/biometric">Biometric</a></li><li><a href="+/HEAD/collection">Collection</a></li><li><a href="+/HEAD/compose/runtime">Compose Runtime</a></li><li><a href="+/HEAD/core">Core</a></li><li><a href="+/HEAD/datastore">DataStore</a></li><li><a href="+/HEAD/fragment">Fragment</a></li><li><a href="+/HEAD/lifecycle">Lifecycle</a></li><li><a href="+/HEAD/navigation">Navigation</a></li><li><a href="+/HEAD/paging">Paging</a></li><li><a href="+/HEAD/room">Room</a></li><li><a href="+/HEAD/work">WorkManager</a></li></ul><h2><a class="h" name="Code-Review-Etiquette" href="#Code-Review-Etiquette"><span></span></a><a class="h" name="code-review-etiquette" href="#code-review-etiquette"><span></span></a>Code Review Etiquette</h2><p>When contributing to Jetpack, follow the <a href="+/HEAD/code-review.md">code review etiquette</a>.</p><h2><a class="h" name="Accepted-Types-of-Contributions" href="#Accepted-Types-of-Contributions"><span></span></a><a class="h" name="accepted-types-of-contributions" href="#accepted-types-of-contributions"><span></span></a>Accepted Types of Contributions</h2><ul><li>Bug fixes - needs a corresponding bug report in the <a href="https://issuetracker.google.com/issues/new?component=192731&template=842428">Android Issue Tracker</a></li><li>Each bug fix is expected to come with tests</li><li>Fixing spelling errors</li><li>Updating documentation</li><li>Adding new tests to the area that is not currently covered by tests</li><li>New features to existing libraries if the feature request bug has been approved by an AndroidX team member.</li></ul><p>We <strong>are not</strong> currently accepting new modules.</p><h2><a class="h" name="Checking-Out-the-Code" href="#Checking-Out-the-Code"><span></span></a><a class="h" name="checking-out-the-code" href="#checking-out-the-code"><span></span></a>Checking Out the Code</h2><p>Head over to the <a href="+/HEAD/docs/onboarding.md">onboarding docs</a> to learn more about getting set up and the development workflow!</p><h3><a class="h" name="Continuous-integration" href="#Continuous-integration"><span></span></a><a class="h" name="continuous-integration" href="#continuous-integration"><span></span></a>Continuous integration</h3><p><a href="https://ci.android.com/builds/branches/aosp-androidx-main/grid?">Our continuous integration system</a> builds all in progress (and potentially unstable) libraries as new changes are merged. You can manually download these AARs and JARs for your experimentation.</p><h2><a class="h" name="Password-and-Contributor-Agreement-before-making-a-change" href="#Password-and-Contributor-Agreement-before-making-a-change"><span></span></a><a class="h" name="password-and-contributor-agreement-before-making-a-change" href="#password-and-contributor-agreement-before-making-a-change"><span></span></a>Password and Contributor Agreement before making a change</h2><p>Before uploading your first contribution, you will need setup a password and agree to the contribution agreement:</p><p>Generate a HTTPS password: <a href="https://android-review.googlesource.com/new-password">https://android-review.googlesource.com/new-password</a></p><p>Agree to the Google Contributor Licenses Agreement: <a href="https://android-review.googlesource.com/settings/new-agreement">https://android-review.googlesource.com/settings/new-agreement</a></p><h2><a class="h" name="Getting-reviewed" href="#Getting-reviewed"><span></span></a><a class="h" name="getting-reviewed" href="#getting-reviewed"><span></span></a>Getting reviewed</h2><ul><li>After you run repo upload, open <a href="http://r.android.com">r.android.com</a></li><li>Sign in into your account (or create one if you do not have one yet)</li><li>Add an appropriate reviewer (use git log to find who did most modifications on the file you are fixing or check the OWNERS file in the project's directory)</li></ul><h2><a class="h" name="Handling-binary-dependencies" href="#Handling-binary-dependencies"><span></span></a><a class="h" name="handling-binary-dependencies" href="#handling-binary-dependencies"><span></span></a>Handling binary dependencies</h2><p>AndroidX uses git to store all the binary Gradle dependencies. They are stored in <code class="code">prebuilts/androidx/internal</code> and <code class="code">prebuilts/androidx/external</code> directories in your checkout. All the dependencies in these directories are also available from <code class="code">google()</code>, or <code class="code">mavenCentral()</code>. We store copies of these dependencies to have hermetic builds. You can pull in <a href="+/HEAD/development/importMaven/README.md">a new dependency using our importMaven tool</a>.</p></div></div></div></div> <!-- Container --></div> <!-- Site-content --><footer class="Site-footer"><div class="Footer"><span class="Footer-poweredBy">Powered by <a href="https://gerrit.googlesource.com/gitiles/">Gitiles</a>| <a href="https://policies.google.com/privacy">Privacy</a>| <a href="https://policies.google.com/terms">Terms</a></span><span class="Footer-formats"><a class="u-monospace Footer-formatsItem" href="?format=TEXT">txt</a> <a class="u-monospace Footer-formatsItem" href="?format=JSON">json</a></span></div></footer></body></html><script nonce="7YY6oxnH5JPxUWG73vlrzA">{let f = document.getElementById("clone-repo-input"); f.onclick = () => {f.focus(); if (f.selectionStart === f.selectionEnd) {f.select();}};}</script>