Stay organized with collections
Save and categorize content based on your preferences.
RequiresDevice
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
abstract
@interface
RequiresDevice
implements
Annotation
android.support.test.filters.RequiresDevice
Indicates that a specific test should not be run on emulator.
It will be executed only if the test is running on the physical android device.
Summary
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."],[],[]]