The Developer Preview for Android 11 is now available; test it out and share your feedback.

RequiresDevice

public abstract @interface RequiresDevice
implements Annotation

androidx.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

Inherited methods

From interface java.lang.annotation.Annotation