After building sample app with sample plugin and running on genymotion emulator and a few real device set (like Sony G3112 and Pixel 2XL) log indicated that method hooking finished successfully but pressing button invokes default methods:
2018-10-09 19:22:40.313 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: init to SDK 24
2018-10-09 19:22:40.336 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA: Start hooking with item lab.galaxy.yahfa.demoPlugin.Hook_Log_e
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp W/YAHFA-Native: not enough capacity. Allocating...
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: Allocating done
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: target method is at 0x717c74cc, hook method is at 0xe737e110, backup method is at 0xe737e0ec
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: origin ep is 0x74e38354, new ep is 0xe73c3000
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: hook and backup done
2018-10-09 19:22:40.339 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA: Start hooking with item lab.galaxy.yahfa.demoPlugin.Hook_String_startsWith
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: target method is at 0x7131c2a0, hook method is at 0xe737e1e0, backup method is at 0xe737e1bc
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80001
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: origin ep is 0x71fbabd4, new ep is 0xe73c300c
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: hook and backup done
2018-10-09 19:22:40.340 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA: Start hooking with item lab.galaxy.yahfa.demoPlugin.Hook_ClassWithVirtualMethod_tac
2018-10-09 19:22:40.376 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA: Start hooking with item lab.galaxy.yahfa.demoPlugin.Hook_ClassWithStaticMethod_tac
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: target method is at 0xec8622c8, hook method is at 0xe737e35c, backup method is at 0x0
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: origin ep is 0xe7dd34d0, new ep is 0xe73c3018
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: hook and backup done
2018-10-09 19:22:40.385 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA: Start hooking with item lab.galaxy.yahfa.demoPlugin.Hook_ClassWithJNIMethod_fromJNI
2018-10-09 19:22:40.415 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: target method is at 0xec86233c, hook method is at 0xe737e428, backup method is at 0xe737e404
2018-10-09 19:22:40.416 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x109
2018-10-09 19:22:40.416 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: setNonCompilable: access flags is 0x80009
2018-10-09 19:22:40.416 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: origin ep is 0xe73bc3b4, new ep is 0xe73c3024
2018-10-09 19:22:40.416 4092-4092/lab.galaxy.yahfa.demoApp I/YAHFA-Native: hook and backup done
2018-10-09 19:22:49.042 4092-4092/lab.galaxy.yahfa.demoApp W/YAHFA: in Log.e(): origin, call Log.e()
2018-10-09 19:22:49.043 4092-4092/lab.galaxy.yahfa.demoApp E/origin: call Log.e()
2018-10-09 19:22:49.043 4092-4092/lab.galaxy.yahfa.demoApp W/YAHFA: in String.startsWith(): foo, f
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/origin: foo startsWith f is true
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/origin: virtual tac a,b,c,d, got dcba
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/YAHFA: in ClassWithStaticMethod.tac(): a, b, c, d
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/origin: static tac a,b,c,d, got testa
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/YAHFA: calling fromJNI
2018-10-09 19:22:49.045 4092-4092/lab.galaxy.yahfa.demoApp W/origin: JNI method return string: hello from JNI
After building sample app with sample plugin and running on genymotion emulator and a few real device set (like Sony G3112 and Pixel 2XL) log indicated that method hooking finished successfully but pressing button invokes default methods: