Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards.
Add plugin to Android module build.gradle
(not top-level one):
plugins {
id "pl.droidsonroids.animation-disabler" version "1.0.9"
}
See also Gradle plugin portal and sample project.
Append --debug
or -d
option to Gradle invocation to see ADB command output (if any) in console. Normally if commands succeed there is no output.