在gradle文件,依赖项
implementation ‘androidx.room:room-compiler:2.4.0-beta01’
改为
annotationProcessor ‘androidx.room:room-compiler:2.4.0-beta01’
在gradle文件,依赖项
implementation ‘androidx.room:room-compiler:2.4.0-beta01’
改为
annotationProcessor ‘androidx.room:room-compiler:2.4.0-beta01’