enable Annotation Processors option in Android Studio 2.2

后端 未结 10 1389
逝去的感伤
逝去的感伤 2020-12-03 00:58

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

10条回答
  •  暖寄归人
    2020-12-03 01:26

    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!

提交回复
热议问题