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
Anroid java.lang.NoSuchMethodError: No interface method getSchema()Ljava/lang/String; in class Ljava/sql/Connection; or its super classes (declaration of 'java.sql.Connection' appears in /apex/com.android.art/javalib/core-oj.jar)
#1014
Open
vladyslavv-ua opened this issue
Jan 12, 2025
· 2 comments
Hi. My android build crashes when using kotlin dataframe. I get the error java.lang.NoSuchMethodError: No interface method getSchema()Ljava/lang/String; in class Ljava/sql/Connection; or its super classes (declaration of 'java.sql.Connection' appears in /apex/com.android.art/javalib/core-oj.jar)
Could you try to add implementation(libs.sqlite.jdbc) to androidMain as well? I'm not entirely sure how the JDBC classloader handles dependencies in Kotlin multiplatform projects, but adding it in the place it's used may make it easier for JDBC to call into SQLite.
Yes. I tried it but the same error. To use JDBS I had to download jar package and extract JNI library from https://github.com/xerial/sqlite-jdbc this repo)
Hi. My android build crashes when using kotlin dataframe. I get the error java.lang.NoSuchMethodError: No interface method getSchema()Ljava/lang/String; in class Ljava/sql/Connection; or its super classes (declaration of 'java.sql.Connection' appears in /apex/com.android.art/javalib/core-oj.jar)
How to reproduce
2025-01-12.15-49-57.mp4
The text was updated successfully, but these errors were encountered: