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
Open compiler.xml in the .idea folder. I had the following:
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
I simply changed enable to true and re-opened project.
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'
https://stackoverflow.com/a/38698186/4024146
and after do: File > Invalidate Caches / Restart... > Invalidate and Restart
Sometimes the annotate option will be grayed out if the project is not integrated into version control. So goto VCS->Enable version control integration then voila you will see the annotate option and can see the author name beside the line numbers on the editor.
Stuped but worked for me, try to change the library version in my case I upgraded to 1.4.1
See
Click Configure-->Setting See