Sudden compile error in Android Studio; error: cannot find symbol class ComputableLiveData

Dan :

I opened up my project and compiled and ran it, and I'm getting the error mentioned in the title, error: cannot find symbol class ComputableLiveData. I've built a local database using a Room abstraction over SQLite, and the error is occurring in BundleDao_Impl.java.

package com.weaberlumber.programmer.s4s_scan;

import android.arch.lifecycle.ComputableLiveData; //The error is here
import android.arch.lifecycle.LiveData;
import android.arch.persistence.db.SupportSQLiteStatement;
import android.arch.persistence.room.EntityDeletionOrUpdateAdapter;
import android.arch.persistence.room.EntityInsertionAdapter;
import android.arch.persistence.room.InvalidationTracker.Observer;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.RoomSQLiteQuery;
import android.arch.persistence.room.util.StringUtil;

I've tried deleting the build folder so that the file could be regenerated, but no luck.

Dan :

This was fixed by adding the following implementation to the dependencies under build.gradle (Module: app)

    implementation 'android.arch.lifecycle:livedata:1.1.1'

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Cannot find symbol class error in Android Studio

Compile error: Cannot find symbol AudioEffect::setParameter in Android Studio

Cannot find symbol error in android studio

Android Studio cannot find symbol error

Cannot Resolve Symbol error on a Class - Android Studio

Error: cannot find symbol - Java compile error

error: cannot find symbol class for add kotlin class into java class in android studio 3.0 stable

Compile Error cannot find symbol new Dashboard(); ^ symbol: class Dashboard location: class Main 1

Java compile error: cannot find symbol

compile error: cannot find symbol: In, StdIn and StdOut

cannot find symbol (java compile time error)

Android Studio 3.x: error: cannot find symbol class GlideApp

How to fix (error: cannot find symbol class ActionOnlyNavDirections) with navigation architecture in Android studio

Cannot find Symbol Class Error in kotlin Databinding with KOIN + Room in Android Studio 3.2.1 9 Oct, 2018 build

How to fix 'cannot find symbol class Nullable' error in android studio 3

error error: cannot find symbol class GithubRepoAdapter

Error error: cannot find symbol class AuthCredential

How to fix error: cannot find symbol in android studio SQLite database

How to resolve Android Studio error: Cannot find symbol method start

Android Studio error cannot find symbol method getWindow()

Android Dagger error cannot find symbol class DaggerDashboardComponent

android: data binding error: cannot find symbol class

Can't compile java class in Intellij Idea due to "cannot find symbol class X" error

Cannot find symbol class Mesh in Android Studio

Android Studio: Cannot find symbol class

Cannot find symbol class in Android Studio

Cannot find class symbol - Android Studio

Cannot find symbol class vector in Android Studio

error: cannot find symbol class Crashlytics and Fabric