I\'m trying to use java 8 in my project and for that I added the jack compiler.
After enabling jack I started having problems with libraries that use Annotation Proc
This Answer for those who face this problem in the future
For Kotlin
Add kapt plugin
apply plugin: 'kotlin-kapt'
implementation 'com.google.dagger:dagger:2.21'
kapt 'com.google.dagger:dagger-compiler:2.21'
For Java
implementation 'com.google.dagger:dagger:2.21'
annotationProcessor 'com.google.dagger:dagger-compiler:2.21'