Closed Anu07 closed 6 years ago
https://stackoverflow.com/questions/47274677/room-cannot-find-implementation
Can you check here, if your issues falls in these categories.
Closing this issue, it can be solved by following one of the above solution.
Nope. None of the above solutions worked for me.
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"
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
yes. Thanks a bunch
On Sun, May 8, 2022, 9:22 PM Abhishek Dutt @.***> wrote:
Adding to @pierretsap https://github.com/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
— Reply to this email directly, view it on GitHub https://github.com/ritesh-singh/WeatherApplication/issues/2#issuecomment-1120432705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJORC4E3XGNC73BTVJZLZLVI7IJZANCNFSM4FKRHQ6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
but i am getting error please help
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!!