You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a new project on kmp using koin annotation and room kmp and I get an error when building the project.
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/android/androidDebug/kotlin/ru/hadj/database/db/SkillingoRoomDatabaseConstructor.kt:5:22 'actual object SkillingoRoomDatabaseConstructor : RoomDatabaseConstructor<SkillingpRoomDatabase>' has no corresponding expected declaration
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/android/androidDebug/kotlin/ru/hadj/database/db/SkillingoRoomDatabaseConstructor.kt:7:23 'actual fun initialize(): SkillingpRoomDatabase' has no corresponding expected declaration
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/org/koin/ksp/generated/DataBaseModuleGenru$hadj$database$di.kt:8:31 Expected class 'expect class DatabasePlatformModule : Any' does not have default constructor.
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/dao/BoostDao_Impl.kt:25:14 Redeclaration:
class BoostDao_Impl : BoostDao
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/dao/TaskDao_Impl.kt:24:14 Redeclaration:
class TaskDao_Impl : TaskDao
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/dao/TaskGroupDao_Impl.kt:22:14 Redeclaration:
class TaskGroupDao_Impl : TaskGroupDao
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/db/SkillingoRoomDatabaseConstructor.kt:5:22 'actual object SkillingoRoomDatabaseConstructor : RoomDatabaseConstructor<SkillingpRoomDatabase>' has no corresponding expected declaration
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/db/SkillingoRoomDatabaseConstructor.kt:5:22 Redeclaration:
actual object SkillingoRoomDatabaseConstructor : RoomDatabaseConstructor<SkillingpRoomDatabase>
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/db/SkillingoRoomDatabaseConstructor.kt:7:23 'actual fun initialize(): SkillingpRoomDatabase' has no corresponding expected declaration
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/db/SkillingpRoomDatabase_Impl.kt:33:8 Class 'SkillingpRoomDatabase_Impl' is not abstract and does not implement abstract base class member 'clearAllTables'.
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/build/generated/ksp/metadata/commonMain/kotlin/ru/hadj/database/db/SkillingpRoomDatabase_Impl.kt:33:14 Redeclaration:
class SkillingpRoomDatabase_Impl : SkillingpRoomDatabase
e: file:///Users/Shared/development/Multiplatform/Skillingo/core/database/src/androidMain/kotlin/ru/hadj/database/db/getDataBaseBuilder.android.kt:10:14 'actual class DataBasePlatform : Any' has no corresponding members for expected class members:
expect constructor(): DataBasePlatform
The following declaration is incompatible because number of value parameters is different:
constructor(context: Context): DataBasePlatform
> Task :core:database:copyRoomSchemas
I am writing a new project on kmp using koin annotation and room kmp and I get an error when building the project.
DataBase Module:
*db package
Koin project used and used version:
[
koin-core version 4.0.0
][
koin-annotation version 1.4.0
]Other:
[
room version 2.7.0-alpha10
][
ksp version 2.0.20-1.0.25
][
sqlite version 2.5.0-SNAPSHOT
]The text was updated successfully, but these errors were encountered: