관리 메뉴

막내의 막무가내 프로그래밍 & 일상

[안드로이드] Android room persistent: AppDatabase_Impl does not exist (Room Database 관련 에러처리) 본문

안드로이드/코틀린 & 아키텍처 & Recent

[안드로이드] Android room persistent: AppDatabase_Impl does not exist (Room Database 관련 에러처리)

막무가내막내 2020. 3. 9. 20:27
728x90

[2021-04-13 업데이트]

 

 

 

https://stackoverflow.com/questions/46665621/android-room-persistent-appdatabase-impl-does-not-exist/53187335

 

Android room persistent: AppDatabase_Impl does not exist

My app database class @Database(entities = {Detail.class}, version = Constant.DATABASE_VERSION) public abstract class AppDatabase extends RoomDatabase { private static AppDatabase INSTANCE; ...

stackoverflow.com

 

 

gradle에 각각 추가하여 해결

apply plugin: 'kotlin-kapt'
// Extensions = ViewModel + LiveData
implementation "android.arch.lifecycle:extensions:1.1.0"
kapt "android.arch.lifecycle:compiler:1.1.0"
// Room
implementation "android.arch.persistence.room:runtime:1.0.0"
kapt "android.arch.persistence.room:compiler:1.0.0"
also remember to add this plugin

 

 

댓글과 공감은 큰 힘이 됩니다. 감사합니다. !!

 

 

 

728x90
Comments