Stay organized with collections Save and categorize content based on your preferences.

RequiresDevice

@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = [java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD])
public 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.