blob: b4ea4dae748a1678e6576849ee87f2108aa062f6 [file] [log] [blame] [view]
AndroidX Core Team2e416b22020-12-03 22:58:07 +00001# FAQ
2
3[TOC]
4
5## General FAQ
6
alanvf6f64342021-12-15 09:12:20 -08007### What is `androidx`?
AndroidX Core Team2e416b22020-12-03 22:58:07 +00008
alanvaaaabfa2022-06-14 12:11:57 -07009Artifacts within the `androidx` package comprise the libraries of
10[Android Jetpack](https://developer.android.com/jetpack).
11
12Libraries in the `androidx` package provide functionality that extends the
13capabilities of the Android platform. These libraries, which ship separately
AndroidX Core Team2e416b22020-12-03 22:58:07 +000014from the Android OS, focus on improving the experience of developing apps
15through broad OS- and device-level compatibility, high-level abstractions to
16simplify and unify platform features, and other new features that target
alanvaaaabfa2022-06-14 12:11:57 -070017developer pain points.
AndroidX Core Team2e416b22020-12-03 22:58:07 +000018
alanvf6f64342021-12-15 09:12:20 -080019### Why did we move to `androidx`?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000020
21Please read our
22[blog post](https://android-developers.googleblog.com/2018/05/hello-world-androidx.html)
alanvf6f64342021-12-15 09:12:20 -080023about our migration.
AndroidX Core Team2e416b22020-12-03 22:58:07 +000024
25### What happened to the Support Library?
26
27As part of the Jetpack effort to improve developer experience on Android, the
28Support Library team undertook a massive refactoring project. Over the course of
292017 and 2018, we streamlined and enforced consistency in our packaging,
30developed new policies around vesioning and releasing, and developed tools to
31make it easy for developers to migrate.
32
33### Will there be any more updates to Support Library?
34
alanvf6f64342021-12-15 09:12:20 -080035No, revision `28.0.0` of the Support Library, which launched as stable in
AndroidX Core Team408c27b2020-12-15 15:57:00 +000036September 2018, was the last feature release in the `android.support` package.
37There will be no further releases under Support Library packaging and they
38should be considered deprecated.
AndroidX Core Team2e416b22020-12-03 22:58:07 +000039
AndroidX Core Team408c27b2020-12-15 15:57:00 +000040### How are `androidx` and AndroidX related to Jetpack?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000041
alanvf6f64342021-12-15 09:12:20 -080042They are effectively the same thing! In a sentence, `androidx` is the packaging
43and AndroidX is the development workflow for most components in Jetpack. Jetpack
44is the external branding for libraries within the `androidx` package.
AndroidX Core Team2e416b22020-12-03 22:58:07 +000045
46In more detail, Jetpack is the external branding for the set of components,
47tools, and guidance that improve the developer experience on Android. AndroidX
48is the open-source development project that defines the workflow, versioning,
49and release policies for ALL libraries included in Jetpack. All libraries within
AndroidX Core Team408c27b2020-12-15 15:57:00 +000050the `androidx` Java package follow a consistent set of API design guidelines,
AndroidX Core Team2e416b22020-12-03 22:58:07 +000051conform to SemVer and alpha/beta revision cycles, and use the Android issue
52tracker for bugs and feature requests.
53
AndroidX Core Team408c27b2020-12-15 15:57:00 +000054### What library versions have been officially released?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000055
56You can see all publicly released versions on the interactive
57[Google Maven page](https://dl.google.com/dl/android/maven2/index.html).
58
59### How do I jetify something?
60
61The Standalone Jetifier documentation and download link can be found
62[here](https://developer.android.com/studio/command-line/jetifier), under the
63Android Studio DAC.
64
65### How do I update my library version?
66
67See the steps specified on the version page
68[here](versioning.md#how-to-update-your-version).
69
AndroidX Core Team2e416b22020-12-03 22:58:07 +000070## Version FAQ {#version}
71
AndroidX Core Team2e416b22020-12-03 22:58:07 +000072### When does an alpha ship?
73
74For public releases, an alpha ships when the library lead believes it is ready.
75Generally, these occur during the batched bi-weekly (every 2 weeks) release
76because all tip-of-tree dependencies will need to be released too.
77
78### Are there restrictions on when or how often an alpha can ship?
79
80Nope.
81
AndroidX Core Team408c27b2020-12-15 15:57:00 +000082### Can alpha work (ex. for the next Minor release) occur in the primary development branch during beta API lockdown?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000083
84No. This is by design. Focus should be spent on improving the Beta version and
85adding documentation/samples/blog posts for usage!
86
AndroidX Core Team408c27b2020-12-15 15:57:00 +000087### Is there an API freeze window between alpha and beta while API surface is reviewed and tests are added, but before the beta is released?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000088
89Yes. If any new APIs are added in this window, the beta release will be blocked
90until API review is complete and addressed.
91
AndroidX Core Team408c27b2020-12-15 15:57:00 +000092### How often can a beta release?
AndroidX Core Team2e416b22020-12-03 22:58:07 +000093
94As often as needed, however, releases outside of the bi-weekly (every 2 weeks)
95release will need to get approval from the TPM (nickanthony@).