Giter VIP home page Giter VIP logo

Comments (7)

ameybhandarkar avatar ameybhandarkar commented on June 27, 2024 15

Nope. None of the above solutions worked for me.

from weatherapplication.

pierretsap avatar pierretsap commented on June 27, 2024 2

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"

from weatherapplication.

AungHtetKyawWho avatar AungHtetKyawWho commented on June 27, 2024 1

from weatherapplication.

ritesh-singh avatar ritesh-singh commented on June 27, 2024

https://stackoverflow.com/questions/47274677/room-cannot-find-implementation

https://stackoverflow.com/questions/44417136/room-persistence-library-run-time-exception-when-calling-rooms-inmemorybuilder-m/44582509

Can you check here, if your issues falls in these categories.

from weatherapplication.

ritesh-singh avatar ritesh-singh commented on June 27, 2024

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

from weatherapplication.

duttabhishek0 avatar duttabhishek0 commented on June 27, 2024

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

from weatherapplication.

dhiru909 avatar dhiru909 commented on June 27, 2024

but i am getting error please help

from weatherapplication.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.