打开项目File→setting→Build,Execution,Deployment→Annotation Processors 勾选上右上角的 Enable annotation processing选项,再Rebuild 项目。 相关文章: