Enable Annotation processing for existing projects Android studio 3.3
问题 I am using Android studio 3.3 and trying to use Dagger2 in my project. However, the annotation processing does not work in it and the annotation classes are not generated. I am add the library as follows to my gradle file. implementation 'com.google.dagger:dagger:2.21' annotationProcessor 'com.google.dagger:dagger-compiler:2.21' I have also specified the annotationProcessorOptions javaCompileOptions { annotationProcessorOptions { includeCompileClasspath true } } What have I tried: Closing the