Caused by: java.lang.RuntimeException: cannot find implementation for com.example.libdb.MyDataB

在kotlin中使用room报 Caused by: java.lang.RuntimeException: cannot find implementation for com.example.libdb.MyDataBase. MyDataBase_Impl does not exist错误,按步骤一二修改即可

一.

Caused by: java.lang.RuntimeException: cannot find implementation for com.example.libdb.MyDataB_第1张图片

二.

Caused by: java.lang.RuntimeException: cannot find implementation for com.example.libdb.MyDataB_第2张图片

你可能感兴趣的:(android,kotlin,room)