Cannot access class 'co.touchlab.sqliter.DatabaseConnection'.
I have no touchlab libs in my app and there are no imports for it in the file. Everything compiles OK, but the false errors are annoying.
I was wondering if anyone else has seen this.
same 1
mkrussel
10/30/2023, 7:40 PM
It doesn't like the symbols
NativeSqliteDriver
and
wrapConnection
.
mkrussel
10/30/2023, 9:12 PM
I see that touch lab's sqliter is a dependency of the native driver. But SqlDelight uses an API dependency, so I'm not sure why Intellij is not finding the class.
o
okarm
11/01/2023, 10:55 AM
Yes, I have observed this phenomenon as well. IDEA cannot find sqliter elements.
k
kpgalligan
11/07/2023, 3:25 PM
We'll see how it goes when a new version of sqldelight comes out. We've bumped the latest sqliter to Kotlin 1.9.20. That may cooperate better with the IDE (although building should work fine, even if the IDE disagrees)