UnsatisfiedLinkError on android arm64-v8a
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 32/100
Línea de trabajo
Start with native library loading in org.sqlite.core.NativeDB, where the stack trace fails, and inspect how the packaged arm64-v8a library is selected and loaded on Android 14. Reproduce the connection failure on the Motorola Moto E14 or a matching arm64-v8a Android environment; done means DriverManager.getConnection() opens the SQLite database successfully there.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
The app throws a java.lang.UnsatisfiedLinkError when attempting to use the sqlite-jdbc library on a Motorola Moto E14 device.
To Reproduce
The error occurs during the initialization of a SQLite database connection using DriverManager.getConnection() with the org.sqlite.JDBC driver. The native libraries (.so files) extracted from the xerial/sqlite-jdbc JAR are included in the Android application package (APK) under the jniLibs directory, organized into architecture-specific folders: arm64-v8a, armeabi, x86, and x86_64.
Expected behavior
The app should successfully establish a connection to the SQLite database using the sqlite-jdbc library on the Motorola Moto E14 device, similar to its behavior on the majority of other tested Android devices.
Logs
Exception java.lang.UnsatisfiedLinkError:
at java.lang.Runtime.loadLibrary0 (Runtime.java:1082)
at java.lang.Runtime.loadLibrary0 (Runtime.java:1003)
at java.lang.System.loadLibrary (System.java:1661)
at org.sqlite.core.NativeDB.<clinit> (NativeDB.java:47)
at org.sqlite.SQLiteConnection.open (SQLiteConnection.java:280)
at org.sqlite.SQLiteConnection.<init> (SQLiteConnection.java:67)
at org.sqlite.jdbc3.JDBC3Connection.<init> (JDBC3Connection.java:28)
at org.sqlite.jdbc4.JDBC4Connection.<init> (JDBC4Connection.java:19)
at org.sqlite.JDBC.createConnection (JDBC.java:106)
at org.sqlite.JDBC.connect (JDBC.java:79)
at java.sql.DriverManager.getConnection (DriverManager.java:580)
at java.sql.DriverManager.getConnection (DriverManager.java:218)
at org.jetbrains.exposed.sql.Database$Companion.connect$lambda$15 (Database.kt:308)
Environment:
OS: Android 14 (on Motorola Moto E14)
CPU architecture: arm64-v8a (Motorola Moto E14) - Unisoc T606
sqlite-jdbc version: tested with 3.43.0.0, 3.49.1.0
Additional context
I'm using Exposed on android.
- Lenguaje dominante
- Java
- Estrellas
- 3.3k
- Forks
- 676
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de xerial/sqlite-jdbc
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
xerial/sqlite-jdbc#1515 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
xerial/sqlite-jdbc#1514 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
xerial/sqlite-jdbc#1513 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
xerial/sqlite-jdbc#1512 ·
Los mantenedores suelen responder en 1 día
-
SIGSEGV (exit 134) in bundled `rightstr()` when the length argument is a large negative numberPosiblemente ocupada @sarthakdev143-lite la tomó hace 2 días. Abiertohelp wanted impacts:JNI
Dificultad 4/5 1-2 días Aptitud para principiantes 38/100
xerial/sqlite-jdbc#1508 ·
Los mantenedores suelen responder en 1 día
Todos los issues de xerial/sqlite-jdbc
Issues similares
-
vips-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Stirling-Tools/JPDFium#300 ·
Los mantenedores suelen responder en 1 día
-
hermes-queue
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
chrisalunlloyd2-sudo/mindpalace#403 ·
Los mantenedores suelen responder en 1 día
-
Guidelines: document how to build a use case against a local, unpublished Flow/browserless-test changePosiblemente ocupada @totally-not-ai la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
vaadin/use-cases#452 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area/storage area/storage/sql
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Apicurio/apicurio-registry#11159 ·
Los mantenedores suelen responder en 1 día
-
Area/Configuration Type/Improvement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ballerina-platform/static-code-analysis-tool#217 ·
Los mantenedores suelen responder en 1 día