Lombok Requires Annotation Processing

前端 未结 10 971
不思量自难忘°
不思量自难忘° 2020-12-16 09:04

I\'m using Android Studio 2.2 Preview 7, and the Lombok plugin suddenly started saying: Annotation processing seems to be disabled for the project X, and provid

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 09:52

    In AndroidStudio 3.5+ do next steps:

    • go to File -> Other Settings -> Preferences for New Projects... (!)
    • expand Build, Execution, Deployment
    • expand Compiler
    • select Annotation Processors
    • check Enable annotation processing

    If it still wouldn't work just reinstall Lombok plugin.

提交回复
热议问题