Skip to content

bug: andorid "libxberg_jni.so" not found #1257

Description

@beancookie

Description

java.lang.UnsatisfiedLinkError: dlopen failed: library "libxberg_jni.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1090)
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1765)
at io.xberg.XbergBridge.(XbergBridge.kt:17)
at io.xberg.Xberg.extract(Xberg.kt:94)
at com.google.ai.edge.gallery.customtasks.docimport.DocImportViewModel$extractWithXberg$2.invokeSuspend(DocImportScreen.kt:162)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:807)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@bdf0f1c, Dispatchers.IO]

Steps to reproduce

Installation
Package Installation
Kotlin DSL (build.gradle.kts):

implementation("io.xberg:xberg-android:1.0.0-rc.29")
Groovy DSL (build.gradle):

implementation 'io.xberg:xberg-android:1.0.0-rc.29'

Relevant files and configuration


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions