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)
- Dominant language
- Kotlin
- Stars
- 1.1k
- Forks
- 83
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 30
Description
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
1. Clone the repository https://github.com/vladyslavv-ua/TimeTracker
2. Build into android.
3. Launch the screen where dataframe is used (this equalizer button)
4. Get a crash
https://github.com/user-attachments/assets/6845eb3a-53aa-4aaf-892e-4fdacfd26cdf
Contributor guide
Research direction
Clone the linked TimeTracker repository and reproduce the crash by building for Android and opening the screen that uses DataFrame, identified by the equalizer button. Start with the reported NoSuchMethodError and determine the Android/JVM compatibility issue; done means that screen launches without this crash in an Android build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100