Room cannot find implementation

前端 未结 11 1838
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 07:17

I have a problem with testing a Room database: when I run the test, I get this exception:

java.lang.RuntimeException: cannot find implementation for databa         


        
11条回答
  •  不思量自难忘°
    2020-12-09 07:55

    I will add complete answer that solved my problem

    First add all the room dependency of android x second add apply plugin: 'kotlin-kapt' and replace annotationProcessor of room compiler with kept

提交回复
热议问题