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是为什么?
....
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是为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货