android_catalogue1-3 Exercise 1: Wiring It Up ============================================== Checklist of setup steps (each is a common source of a build error): 1. libs.versions.toml: versions, libraries and plugins added. 2. Project-level build.gradle.kts: ksp and hilt plugins declared with "apply false". 3. app/build.gradle.kts: both plugins applied; room-runtime, room-ktx, ksp(room-compiler), hilt-android, ksp(hilt-compiler), hilt-navigation-compose added. 4. CatalogueApplication with @HiltAndroidApp, and android:name=".CatalogueApplication" in the manifest. 5. @AndroidEntryPoint on MainActivity. 6. AppDatabase, four DAOs, DatabaseModule, CatalogueRepository. Typical errors and what they point to: "Plugin [id: 'com.google.devtools.ksp'] was not found" -> step 2 (not declared at project level) "KSP version ... is not compatible with Kotlin ..." -> step 1: the ksp version must match Kotlin "Unresolved reference: Room / Dao / Entity" -> step 3: dependency missing or not synced "Hilt Activity must be attached to an @HiltAndroidApp Application" -> step 4 (manifest name missing) "[Room] ... foreign key child column ... no index" -> a warning: add the index (Chapter 2) "Schema export directory is not provided" -> exportSchema = true without room.schemaLocation; set it, or set exportSchema = false while learning Your own list will differ with your versions; the useful skill is mapping each error to a step.