运行时崩溃与Proguard启用房间持久性库

当启用了proguard时,我一直面对房间稳定版本的崩溃

FATAL EXCEPTION: main Process: .debug, PID: 27841 java.lang.RuntimeException: Unable to create application .DebugBaseApplication: java.lang.RuntimeException: cannot find implementation for .database.c. c_Impl does not exist at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5015) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1573) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5811) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681) Caused by: java.lang.RuntimeException: cannot find implementation for .database.c. c_Impl does not exist at android.acbda(Unknown Source) at android.acbe$ab(Unknown Source) at .database.c.getFuelDatabase(Unknown Source) at .database.b.init(Unknown Source) at .c.onCreate(Unknown Source) at .DebugBaseApplication.onCreate(Unknown Source) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1041) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5012) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1573) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5811) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681) 

这是我的房间的proguard配置

 ## Room -dontwarn android.arch.util.paging.CountedDataSource -dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource 

这里是如何在build.gradle中声明依赖关系

 // room for local cache implementation "android.arch.persistence.room:runtime:1.0.0" annotationProcessor "android.arch.persistence.room:compiler:1.0.0" implementation "android.arch.persistence.room:rxjava2:1.0.0" 

我已经经历了很多关于这个stackoverflow的post。 像房间持久性库运行时exception时,调用房间inMemoryBuilder方法和房间找不到实施,但事情是我没有使用Kotlin和一切似乎正确配置给我。 我不确定最新的问题,请建议。

Kotlin language will be the best programming language for Android.