Hey <@U05L50XD36W>! im having the same issue! i do...
# room
e
Hey @Mofe Ejegi! im having the same issue! i don't know how you fixed?
im in a Compose Multiplatform project
in my commonmain i have this class:
Copy code
@Database(entities = [TeamItem::class], version = 1)
@ConstructedBy(AppDatabaseConstructor::class)
abstract class TeamDataBase : RoomDatabase(), DB {

    abstract fun teamDao(): TeamDao

    override fun clearAllTables() {}
}

expect object AppDatabaseConstructor : RoomDatabaseConstructor<TeamDataBase> {
    override fun initialize(): TeamDataBase
}
e: file///Users/eduardoruesta/Workplace/SanLuisApp/composeApp/build/generated/ksp/metadata/commonMain/kotlin/io/bebi/sanluisapp/data/database/AppDatabaseConstructor.kt5:22 'actual object AppDatabaseConstructor : RoomDatabaseConstructor<TeamDataBase>' has no corresponding expected declaration
im using:
Copy code
androidx-room = "2.7.0-alpha07"
m
Could you delete your build folders and try again? Particularly the one in
composeApp/build/
e
thanks, i'll try with that