EventBusException:xxxx has no methods onEvent

使用第三方框架EventBus,在register时出现Exception:xxxx has no methods onEvent。

场景:在Activity中没有接收事件,只是需要发送事件,但是有对EventBus进行注册和注销,导致了这样的错误。
 
解决办法:将register和unRegister去掉,直接post就好了。
原文地址:https://www.cnblogs.com/hacjy/p/5126262.html