Android Studio

Annotation

  
Expose metadata that helps tools and other developers understand your app's code.

This table lists all the artifacts in the androidx.annotation group.

Artifact Stable Release Release Candidate Beta Release Alpha Release annotation 1.10.0 - - - annotation-experimental 1.6.0 - - - This library was last updated on: April 08, 2026

Declaring dependencies

To add a dependency on Annotation, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies {
    implementation "androidx.annotation:annotation:1.10.0"
    // To use the Java-compatible @androidx.annotation.OptIn API annotation
    implementation "androidx.annotation:annotation-experimental:1.6.0"
}

Kotlin

dependencies {
    implementation("androidx.annotation:annotation:1.10.0")
    // To use the Java-compatible @androidx.annotation.OptIn API annotation
    implementation("androidx.annotation:annotation-experimental:1.6.0")
}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.10

Version 1.10.0

April 08, 2026

androidx.annotation:annotation-*:1.10.0 is released. Version 1.10.0 contains these commits.

Important changes since 1.9.0:

Version 1.10.0-rc01

March 25, 2026

androidx.annotation:annotation-*:1.10.0-rc01 is released. Version 1.10.0-rc01 contains these commits.

Version 1.10.0-alpha01

March 11, 2026

androidx.annotation:annotation-*:1.10.0-alpha01 is released. Version 1.10.0-alpha01 contains these commits.

New Features

API Changes

Version 1.9

Version 1.9.1

October 30, 2024

androidx.annotation:annotation-*:1.9.1 is released. Version 1.9.1 contains these commits.

Bug Fixes

Version 1.9.0

October 16, 2024

androidx.annotation:annotation-*:1.9.0 is released. Version 1.9.0 contains these commits.

Important changes since 1.8.0

Version 1.9.0-rc01

October 2, 2024

androidx.annotation:annotation-*:1.9.0-rc01 is released. Version 1.9.0-rc01 contains no changes since the previous beta.

Version 1.9.0-beta01

September 18, 2024

androidx.annotation:annotation-*:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.

API Changes

Version 1.9.0-alpha03

September 4, 2024

androidx.annotation:annotation-*:1.9.0-alpha03 is released. Version 1.9.0-alpha03 contains no changes since the previous alpha.

Version 1.9.0-alpha02

August 21, 2024

androidx.annotation:annotation-*:1.9.0-alpha02 is released. Version 1.9.0-alpha02 contains these commits.

New Features

Version 1.9.0-alpha01

June 26, 2024

androidx.annotation:annotation-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.

External Contribution

Version 1.8

Version 1.8.2

August 7, 2024

androidx.annotation:annotation-*:1.8.2 is released. Version 1.8.2 contains these commits.

Bug Fixes

Version 1.8.1

July 24, 2024

androidx.annotation:annotation-*:1.8.1 is released. Version 1.8.1 contains these commits.

Bug Fixes

Version 1.8.0

May 14, 2024

androidx.annotation:annotation-*:1.8.0 is released. Version 1.8.0 contains these commits.

Important changes since 1.7.0

Version 1.8.0-rc01

May 1, 2024

androidx.annotation:annotation-*:1.8.0-rc01 is released. Version 1.8.0-rc01 contains no changes since the prior beta release.

Version 1.8.0-beta02

April 17, 2024

androidx.annotation:annotation-*:1.8.0-beta02 is released. Version 1.8.0-beta02 contains no changes since the prior release.

Version 1.8.0-beta01

April 3, 2024

androidx.annotation:annotation-*:1.8.0-beta01 is released. Version 1.8.0-beta01 contains these commits.

New Features

Version 1.8.0-alpha02

March 20, 2024

androidx.annotation:annotation-*:1.8.0-alpha02 is released with no notable changes. Version 1.8.0-alpha02 contains these commits.

Version 1.8.0-alpha01

February 21, 2024

androidx.annotation:annotation-*:1.8.0-alpha01 is released. Version 1.8.0-alpha01 contains these commits.

API Changes

External Contributions

Version 1.7

Version 1.7.1

December 13, 2023

androidx.annotation:annotation-*:1.7.1 is released. Version 1.7.1 contains these commits.

Bug Fixes

Version 1.7.0

September 6, 2023

androidx.annotation:annotation-*:1.7.0 is released. Version 1.7.0 contains these commits.

Important changes since 1.6.0

Version 1.7.0-rc01

August 23, 2023

androidx.annotation:annotation-*:1.7.0-rc01 is released. Version 1.7.0-rc01 contains these commits.

This release does not contain any changes from the prior beta.

Version 1.7.0-beta01

August 9, 2023

androidx.annotation:annotation-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits.

New Features

Version 1.7.0-alpha03

July 26, 2023

androidx.annotation:annotation-*:1.7.0-alpha03 is released. Version 1.7.0-alpha03 contains these commits.

Bug Fixes

Version 1.7.0-alpha02

March 24, 2023

androidx.annotation:annotation-*:1.7.0-alpha02 is released.

Bug Fixes

Version 1.7.0-alpha01

March 22, 2023

androidx.annotation:annotation-*:1.7.0-alpha01 is released. Version 1.7.0-alpha01 contains these commits.

New Features

Version 1.6

Version 1.6.0

April 08, 2026

androidx.annotation:annotation-experimental:1.6.0 is released. Version 1.6.0 contains these commits.

Important changes since 1.5.0:

Version 1.6.0

February 22, 2023

androidx.annotation:annotation:1.6.0 and androidx.annotation:annotation-jvm:1.6.0 are released. Version 1.6.0 contains these commits.

Important changes since 1.5.0

Version 1.6.0-rc01

February 8, 2023

androidx.annotation:annotation:1.6.0-rc01 and androidx.annotation:annotation-jvm:1.6.0-rc01 are released. Version 1.6.0-rc01 contains these commits.

Version 1.6.0-beta01

January 25, 2023

androidx.annotation:annotation:1.6.0-beta01 and androidx.annotation:annotation-jvm:1.6.0-beta01 are released with no changes from 1.6.0-alpha01.

Version 1.6.0-alpha01

January 11, 2023

androidx.annotation:annotation-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.

Version 1.6.0-dev01

February 8, 2023

androidx.annotation:annotation-*:1.6.0-dev01 is released. Version 1.6.0-dev01 contains these commits.

New Features

Version 1.5.0

Version 1.5.0

September 21, 2022

androidx.annotation:annotation:1.5.0 is released. Version 1.5.0 contains these commits.

Important changes since 1.4.0

Version 1.5.0-rc01

September 7, 2022

androidx.annotation:annotation:1.5.0-rc01 is released. Version 1.5.0-rc01 contains these commits.

Version 1.5.0-beta01

August 24, 2022

androidx.annotation:annotation:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits.

Version 1.5.0-alpha02

August 10, 2022

androidx.annotation:annotation:1.5.0-alpha02 is released. Version 1.5.0-alpha02 contains these commits.

Version 1.5.0-alpha01

July 27, 2022

androidx.annotation:annotation:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.

New Features

Version 1.4.0

Version 1.4.0

June 15, 2022

androidx.annotation:annotation:1.4.0 is released. Version 1.4.0 contains these commits.

Important changes since 1.3.0

Version 1.4.0-rc01

June 1, 2022

androidx.annotation:annotation:1.4.0-rc01 is released. Version 1.4.0-rc01 contains these commits.

Version 1.4.0-beta01

May 18, 2022

androidx.annotation:annotation:1.4.0-beta01 is released. Version 1.4.0-beta01 contains these commits.

Version 1.4.0-alpha02

February 9, 2022

androidx.annotation:annotation:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.

New Features

Version 1.4.0-alpha01

December 15, 2021

androidx.annotation:annotation:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.

API Changes

Version 1.3.0

Version 1.3.0

November 3, 2021

androidx.annotation:annotation:1.3.0 is released. Version 1.3.0 contains these commits.

Important changes since 1.2.0

Version 1.3.0-rc01

October 27, 2021

androidx.annotation:annotation:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Version 1.3.0-beta01

September 29, 2021

androidx.annotation:annotation:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

API Changes

Bug Fixes

Version 1.3.0-alpha01

March 24, 2021

androidx.annotation:annotation:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.

API Changes

Annotation-Experimental Version 1.6

Version 1.6.0-rc01

February 11, 2026

androidx.annotation:annotation-experimental:1.6.0-rc01 is released. Version 1.6.0-rc01 contains no changes since the prior beta release.

Version 1.6.0-alpha01

October 22, 2025

androidx.annotation:annotation-experimental:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.

API Changes

Annotation-Experimental Version 1.5

Version 1.5.1

July 16, 2025

androidx.annotation:annotation-experimental:1.5.1 is released. Version 1.5.1 contains these commits.

Version 1.5.0

May 7, 2025

androidx.annotation:annotation-experimental:1.5.0 is released. Version 1.5.0 contains these commits.

Important changes since 1.4.0

Version 1.5.0-rc01

April 23, 2025

androidx.annotation:annotation-experimental:1.5.0-rc01 is released. Version 1.5.0-rc01 contains no changes since the previous beta release, see commits.

Version 1.5.0-beta01

April 9, 2025

androidx.annotation:annotation-experimental:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits.

Important changes

Version 1.5.0-alpha01

August 21, 2024

androidx.annotation:annotation-experimental:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.

API Changes

Annotation-Experimental Version 1.4

Version 1.4.1

April 3, 2024

androidx.annotation:annotation-experimental:1.4.1 is released. Version 1.4.1 contains these commits.

Bug Fixes

Version 1.4.0

January 24, 2024

androidx.annotation:annotation-experimental:1.4.0 is released. Version 1.4.0 contains these commits.

Important changes since 1.3.0

Version 1.4.0-rc01

January 10, 2024

androidx.annotation:annotation-experimental:1.4.0-rc01 is released. Version 1.4.0-rc01 contains no changes since the previous release.

Version 1.4.0-beta01

December 13, 2023

androidx.annotation:annotation-experimental:1.4.0-beta01 is released. There are no changes since the previous release.

Version 1.4.0-alpha01

November 29, 2023

androidx.annotation:annotation-experimental:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.

Bug Fixes

Version 1.4.0-dev01

February 8, 2023

androidx.annotation:annotation-experimental:1.4.0-dev01 is released. Version 1.4.0-dev01 contains these commits.

Annotation-Experimental Version 1.3.1

Version 1.3.1

June 21, 2023

androidx.annotation:annotation-experimental:1.3.1 is released. Version 1.3.1 contains these commits.

Bug Fixes

Annotation-Experimental Version 1.3.0

Version 1.3.0

September 7, 2022

androidx.annotation:annotation-experimental:1.3.0 is released. Version 1.3.0 contains these commits.

Important changes since 1.2.0

Version 1.3.0-rc01

August 24, 2022

androidx.annotation:annotation-experimental:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Version 1.3.0-beta01

August 10, 2022

androidx.annotation:annotation-experimental:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

Version 1.3.0-alpha01

July 27, 2022

androidx.annotation:annotation-experimental:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.

API Changes

Annotation-Experimental Version 1.2.0

Version 1.2.0

December 15, 2021

androidx.annotation:annotation-experimental:1.2.0 is released. Version 1.2.0 contains these commits.

Important changes since 1.1.0

This library is now targeting Java 8 language level.

Version 1.2.0-rc01

December 1, 2021

androidx.annotation:annotation-experimental:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.

No changes from beta.

Version 1.2.0-beta01

November 17, 2021

androidx.annotation:annotation-experimental:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.

API Changes

APIs have been finalized for beta.

Annotation-Experimental Version 1.2.0-alpha01

June 30, 2021

androidx.annotation:annotation-experimental:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

New Features

Version 1.2.0

Version 1.2.0

March 24, 2021

androidx.annotation:annotation:1.2.0 is released. Version 1.2.0 contains these commits.

Major changes since 1.1.0

Version 1.2.0-rc01

February 24, 2021

androidx.annotation:annotation:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.

Version 1.2.0-beta01

January 13, 2021

androidx.annotation:annotation:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.

API Changes

Version 1.2.0-alpha01

May 14, 2020

androidx.annotation:annotation:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

New Features

Annotation-Experimental Version 1.1.0

Version 1.1.0

April 7, 2021

androidx.annotation:annotation-experimental:1.1.0 is released. Version 1.1.0 contains these commits.

Major changes since 1.0.0

Version 1.1.0-rc02

March 24, 2021

androidx.annotation:annotation-experimental:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.

Bug Fixes

Version 1.1.0-rc01

March 10, 2021

androidx.annotation:annotation-experimental:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.

No changes since prior beta release.

Version 1.1.0-beta01

January 27, 2021

androidx.annotation:annotation-experimental:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.

API Changes

Version 1.1.0-alpha01

July 22, 2020

androidx.annotation:annotation-experimental:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

New Features

Annotation-Experimental Version 1.0.0

Annotation-Experimental Version 1.0.0

November 7, 2019

androidx.annotation:annotation-experimental:1.0.0 and androidx.annotation:annotation-experimental-lint:1.0.0 is released with no changes since 1.0.0-rc01. Version 1.0.0 contains these commits.

Major features of 1.0.0

Annotation-Experimental Version 1.0.0-rc01

October 23, 2019

androidx.annotation:annotation-experimental:1.0.0-rc01 and androidx.annotation:annotation-experimental-lint:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

Known issues

When using Studio 3.5 stable, warnings from the @Experimental usage lint detector are not displayed in the IDE for invalid Java usages of Kotlin @Experimental annotation. See b/140640322.

Annotation-Experimental Version 1.0.0-beta01

October 9, 2019

androidx.annotation:annotation-experimental:1.0.0-beta01 and androidx.annotation:annotation-experimental-lint:1.0.0-beta01 are released with no changes since version 1.0.0-alpha01. Version 1.0.0-beta01 contains these commits.

Annotation-Experimental Version 1.0.0-alpha01

September 18, 2019

androidx.annotation:annotation-experimental:1.0.0-alpha01 and androidx.annotation:annotation-experimental-lint:1.0.0-alpha01 are released. These are the commits included in annotation-experimental 1.0.0-alpha01 and these are the commits included in annotation-experimental-lint 1.0.0-alpha01

New features

Version 1.1.0

Version 1.1.0

June 5, 2019

androidx.annotation:annotation:1.1.0 is released with no changes from 1.1.0-rc01.

Version 1.1.0-rc01

May 7, 2019

androidx.annotation:annotation:1.1.0-rc01 is released with no changes from 1.1.0-beta01. The commits included in this version can be found here.

Version 1.1.0-beta01

April 3rd, 2019

androidx.annotation:annotation:1.1.0-beta01 is released. The commits included in this version can be found here.

New features

API changes

Version 1.1.0-alpha02

March 13, 2019

androidx.annotation:annotation:1.1.0-alpha02 is released. The full list of commits included in this version can be found here.

New features

Version 1.1.0-alpha01

January 30, 2019

androidx.annotation:annotation 1.1.0-alpha01 is released.

New features

Version 1.0.2

Version 1.0.2

February 25, 2019

androidx.annotation:annotation 1.0.2 is released.

Bug fixes