EventBus icon indicating copy to clipboard operation
EventBus copied to clipboard

In the lib project reference encapsulation, use error in the main project (在lib项目引用封装,在主项目使用报错)

Open VinRichard opened this issue 6 years ago • 1 comments

org.greenrobot.eventbus.EventBusException: Subscriber class com.soft.supervise.activity.SplashActivity and its super classes have no public methods with the @Subscribe annotation

VinRichard avatar Oct 18 '19 10:10 VinRichard

Do you minify (use ProGuard) on the library project? Maybe add a rule to keep the @Subscribe annotation name, like -keep @interface org.greenrobot.eventbus.Subscribe.

Related to #614.

greenrobot-team avatar Nov 05 '19 08:11 greenrobot-team