How to get rid of Incremental annotation processing requested warning?

后端 未结 13 931
一生所求
一生所求 2020-12-04 08:27

I have just started using android development and trying to use Room library. Since yesterday I am facing this warning message

w: [kapt] Incremental a

13条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 08:51

    Above answers can be useful, but what helped me is reducing the kotlin_version in build.gradle(Project) to 1.3.41 and building the project. This will allow you to see if there is any issue with your entity model.

    Mine was, I forgot to annotate @PrimaryKey. Your may be something different. Kotlin 1.3.41 allows to to see those issues. Fix those issues and revert back your kotlin_version to the previous one.

提交回复
热议问题