Setting – Compiler – Annotation Processors – (勾选)Enable annotation processing.

选中,clean后再次编译即可