java.lang.UnsatisfiedLinkError: No implementation found for void org.kiwix.kiwixcustomwikimed.embedded.JNIKiwix.setDataDirectory(java.lang.String) (tried Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory and Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory__Ljava_lang_String_2)

GitHub | kelson42 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Impossible to run Kiwix custom apps with ZIM embedded (Wikimed, Wikivoyage, ...)

    GitHub | 9 months ago | kelson42
    java.lang.UnsatisfiedLinkError: No implementation found for void org.kiwix.kiwixcustomwikimed.embedded.JNIKiwix.setDataDirectory(java.lang.String) (tried Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory and Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory__Ljava_lang_String_2)

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      No implementation found for void org.kiwix.kiwixcustomwikimed.embedded.JNIKiwix.setDataDirectory(java.lang.String) (tried Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory and Java_org_kiwix_kiwixcustomwikimed_embedded_JNIKiwix_setDataDirectory__Ljava_lang_String_2)

      at org.kiwix.kiwixcustomwikimed.embedded.JNIKiwix.setDataDirectory()
    2. org.kiwix.kiwixcustomwikimed
      ZimContentProvider.onCreate
      1. org.kiwix.kiwixcustomwikimed.embedded.JNIKiwix.setDataDirectory(Native Method)
      2. org.kiwix.kiwixcustomwikimed.embedded.ZimContentProvider.setIcuDataDirectory(ZimContentProvider.java:349)
      3. org.kiwix.kiwixcustomwikimed.embedded.ZimContentProvider.onCreate(ZimContentProvider.java:232)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
      2. android.content.ContentProvider.attachInfo(ContentProvider.java:1692)
      3. android.app.ActivityThread.installProvider(ActivityThread.java:5674)
      4. android.app.ActivityThread.installContentProviders(ActivityThread.java:5269)
      5. android.app.ActivityThread.handleBindApplication(ActivityThread.java:5209)
      6. android.app.ActivityThread.access$1600(ActivityThread.java:181)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1535)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:145)
      10. android.app.ActivityThread.main(ActivityThread.java:6117)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames