Hi all, I am trying KMM + Sqldelight following the...
# multiplatform
t
Hi all, I am trying KMM + Sqldelight following the tutorial here. However, after building the project, there are three AppDatabases and I got the
Redeclaration: AppDatabase
error Is there any other sqldelight settings I need to add? I am using
sqldelight 1.5.4
and here is the sqldelight script in shared build.gradle.kts:
Copy code
sqldelight {
    database("AppDatabase") {
        packageName = "com.example.app.shared.cache"
    }
}
m
Use 1.5.5
t
OK, let me try it
m
1.5.4 had a compatibility issue with Kotlin 1.8
t
@mbonnin you are the god. It works now!! Thanks!
m
🎉
331 Views