android / codelab-android-room-with-a-view

Apache License 2.0
746 stars 490 forks source link

Incompatible dependencies used in tutorial #227

Open mist998 opened 1 year ago

mist998 commented 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'
}