【发布时间】:2017-11-27 18:17:14
【问题描述】:
我添加了以下依赖项:
implementation "android.arch.persistence.room:runtime:$ROOM"
annotationProcessor "android.arch.persistence.room:compiler:$ROOM"
androidTestImplementation "android.arch.persistence.room:testing:$ROOM"
androidTestImplementation "android.arch.core:core-testing:$ROOM"
implementation "android.arch.persistence.room:rxjava2:$ROOM"
现在我收到了这个警告:
warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
我试过用谷歌搜索它,但找不到任何东西。知道我应该改变什么,为什么?
【问题讨论】:
-
IIRC,清理你的项目。
-
刚刚尝试过,但我仍然收到同样的警告。
-
请看一下这个密切相关的 SO 问题:stackoverflow.com/questions/48421708/room-build-warning
标签: android android-room