Open mist998 opened 1 year ago
https://developer.android.com/codelabs/android-room-with-a-view-kotlin#3 Room version need to set to 2.4.0 rather than 2.3.0:
ext { activityVersion = '1.4.0' appCompatVersion = '1.4.0' constraintLayoutVersion = '2.1.2' coreTestingVersion = '2.1.0' coroutines = '1.5.2' lifecycleVersion = '2.4.0' materialVersion = '1.4.0' roomVersion = '2.3.0' //change here to 2.4.0 // testing junitVersion = '4.13.2' espressoVersion = '3.4.0' androidxJunitVersion = '1.1.3' }
https://developer.android.com/codelabs/android-room-with-a-view-kotlin#3
Room version need to set to 2.4.0 rather than 2.3.0: