You missed the meta tag in manifest file. just add. <meta-data android:name="android.accessibilityservice" android:resource="@xml/accessibility"> ...
I've resolve my problem with timer thread. It helped me, because Accessibility service works on different devices with some "delay".