defaultConfig {
....
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
arguments = [ eventBusIndex : 'com.zjy.door.EBIndex' ]
}
}
}
implementation 'org.greenrobot:eventbus:3.1.1'
annotationProcessor 'org.greenrobot:eventbus-annotation-processor:3.1.1'
使用EventBus,無法生成索引類EBIndex是為什么?
uj5u.com熱心網友回復:
就是不自動生成com.zjy.door.EBIndex類,請問大神這是為什么?uj5u.com熱心網友回復:
我也遇到了,在研究
uj5u.com熱心網友回復:
MyEventBusIndex的檔案必須在注冊、訂閱和發送完成的時候才會生成轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/104163.html
標籤:Android
上一篇:畢設求指點
