原文:AndroidStudio EventBus报错解决方法its super classes have no public methods with the @Subscribe

首先说明,以前我用eventBus的jar包写得项目demo,前几天就写了一个EventBus的实例,这次我没用jar包,直接用gradle引用的,可是demo写完了,报错:its super classes have no public methods with the Subscribe annotation所以就用google搜索了一下,找到了解决方法,那就是在接受者onEvent 方法添加 ...

2017-08-31 13:42 0 4339 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM