原文: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