The issue is crushed in the room

I use Room in my project, everything went well, but then when I try to launch it, it will crush me this error.

Caused by: java.lang.RuntimeException: cannot find implementation for via.rider.repository.ai. ai_Impl does not exist

I saw that all questions related to problems with build.config, but I have annotationProcessorset up

// Android Room
    implementation "android.arch.persistence.room:runtime:$roomVersion"
    annotationProcessor "android.arch.persistence.room:compiler:$roomVersion"
    implementation "android.arch.persistence.room:rxjava2:$roomVersion"
    implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'

What could it be?

+4
source share
1 answer

I'm sure Room is trying to create a db circuit, and instead of your classes, it just gets tangled pulp. Try adding:

-keep class via.rider.repository.** { *; } 

for your proguard-rule.pro

+3
source

Source: https://habr.com/ru/post/1695058/


All Articles