{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME) @Target(value = [java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD]) annotation 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.