Kotlin and Android Development featuring Jetpack: Unable to run sample code with Android Studio 2022.2.1

I’ve downloaded the sources for the book (dated 2021) after having bought it on Amazon. However, the downloaded sources don’t run in Android Studio. I was able to enter the example code manually from chapter one and run it without issue, but once I hit chapter 2 things just seem to fall apart: the changes called for on page 37 don’t work (found solutions here), but simply adding the dataBindings line to my gradle file causes Android Studio to complain about duplicate classes, and I’m unable to proceed.

Have there been any attempt to update the sample code?