RequiresDevice

@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.TYPE, ElementType.METHOD])
public annotation RequiresDevice


Indicates that a specific test should not be run on emulator.

The test will be skipped if its executed on one of the recognized Android emulator types (currently ones with Build.HARDWARE equal to 'goldfish', 'ranchu' and 'gce_x86')