Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBase_Impl does not exist #2

Closed
Anu07 opened this issue Jul 18, 2018 · 7 comments
Closed

DataBase_Impl does not exist #2

Anu07 opened this issue Jul 18, 2018 · 7 comments

Comments

@Anu07
Copy link

Anu07 commented Jul 18, 2018

Error:cannot find implementation for com.application.room.UserDataBase.

Hi,I have followed your tutorial.But getting an error regarding implementation of Database abstract class.Please help me!!

@ritesh-singh
Copy link
Owner

Closing this issue, it can be solved by following one of the above solution.

@ameybhandarkar
Copy link

Nope. None of the above solutions worked for me.

@pierretsap
Copy link

pierretsap commented Sep 5, 2021

I had the same issue. I finally resolved it by adding these lines in my graddle file :

def room_version = "2.2.3" // be sure to have the latest version of room
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "android.arch.persistence.room:compiler:$room_version"

@duttabhishek0
Copy link

Adding to @pierretsap if you are not using androidx, then adding the following would help:

 // ViewModel and Live Data
 implementation "android.arch.lifecycle:extensions:1.1.1"
 kapt "android.arch.lifecycle:compiler:1.1.1"

 // Room
 implementation "android.arch.persistence.room:runtime:1.1.1"
 kapt "android.arch.persistence.room:compiler:1.1.1

Also do add apply plugin 'kotlin-kapt' in your app's build.gradle

@AungHtetKyawWho
Copy link

AungHtetKyawWho commented May 8, 2022 via email

@dhiru909
Copy link

but i am getting error please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants