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
Close the project. In the "Welcome to Android Studio" dialog click "Configure" in the bottom right corner.
Then,
Settings > Build, Execution, Deployment > Compiler > Annotation Processors. Tick 'Enable annotation processing'.
If that does not work. Delete the project from "Welcome to Android Studio" dialog and open from new.
Worked for me.
You can enable Annotation Processors without closing your project in Android Studio 2.3:
File -> Other Settings -> Default Settings
Build, Execution, Deployment -> Compiler -> Annotation Processors ->
Enable annotation processing.
Don't forget to clean, build, invalidate and restart after that.
Cheers!
Wait for the process completely, then everything will be fine.
Adding to @Jacques Koorts and @mtrakal
If you can't get to the "Welcome to Android Studio" screen. Try File -> Close Project
instead of clicking the X
icon. Then you'll get the "Welcome to Android Studio" screen and you'll see the gear in the bottom right. Follow the accepted answer after that and possibly the cache invalidation.