I turned off all animations on developer options. But I still get this exception when trying to click on one of the buttons.
My app is indeed active and not idle ent
you can check this wayes:
way 1: disable animation in developer options:
Setting -> developer options -> Window animation scale -> off
Transition animation scale -> off
Animator duration scale -> off
way 2: if you have customView in build.gradle use this
defaultConfig {
//...
testOptions {
animationsDisabled = true
}
}