Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.test.annotation\n===============================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nAnnotations\n-----------\n\n|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [Beta](/reference/android/support/test/annotation/Beta) | Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. |\n| [UiThreadTest](/reference/android/support/test/annotation/UiThreadTest) | Methods annotated with this annotation will be executed on the application's UI thread (or main thread). |\n\n-\n\n Annotations\n -----------\n\n - [Beta](/reference/android/support/test/annotation/Beta)\n - [UiThreadTest](/reference/android/support/test/annotation/UiThreadTest)"]]