You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have an abstract class named AppDatabase, which inherits from RoomDatabase. I am trying to use Koin to provide AppDatabase to my repositories.
I have this line in one of my modules:
provide (isSingleton =true) { Room.databaseBuilder(androidApplication(), AppDatabase::class.java, Constants.DATABASE_NAME).build() }
When I run my app, I get this error: java.lang.RuntimeException: cannot find implementation for br.com.evologica.biblio_android.data.database.AppDatabase. AppDatabase_Impl does not exist
Is there any way I can solve this problem?
The text was updated successfully, but these errors were encountered:
seems to be more a Room problem. Did you tried to just run Room.databaseBuilder(androidApplication(), AppDatabase::class.java, Constants.DATABASE_NAME).build() ?
Hello, I have an abstract class named
AppDatabase
, which inherits fromRoomDatabase
. I am trying to use Koin to provideAppDatabase
to my repositories.I have this line in one of my modules:
When I run my app, I get this error:
java.lang.RuntimeException: cannot find implementation for br.com.evologica.biblio_android.data.database.AppDatabase. AppDatabase_Impl does not exist
Is there any way I can solve this problem?
The text was updated successfully, but these errors were encountered: