Giter Site home page Giter Site logo

Comments (5)

JakeWharton avatar JakeWharton commented on August 25, 2024

This isn't really enough information to diagnose a problem. Can you supply a sample that reproduces the problem that we can take a look at?

from zipline.

zdongcoding avatar zdongcoding commented on August 25, 2024

main module : implementation 'com.squareup.duktape:duktape-android:1.3.0'

E/CrashReport: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxxx-WlF14NuE724xe_RyYv5Jqw==/base.apk"],nativeLibraryDirectories=[/data/app/com.xxx.xxxx-WlF14NuE724xe_RyYv5Jqw==/lib/arm, /data/app/com.xxx.xxxx-WlF14NuE724xe_RyYv5Jqw==/base.apk!/lib/armeabi, /system/lib, /vendor/lib, /product/lib]]] couldn't find "libduktape.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1660)
at com.squareup.duktape.Duktape.(Duktape.java:28)
at com.squareup.duktape.Duktape.create(Duktape.java:36)
at android.app.Activity.performDestroy(Activity.java:7604)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1253)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5033)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5065)
at android.app.ActivityThread.-wrap6(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7425)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

from zipline.

zdongcoding avatar zdongcoding commented on August 25, 2024

This isn't really enough information to diagnose a problem. Can you supply a sample that reproduces the problem that we can take a look at?

v1.2.0 is no problem

Duktape -android does not contain armeabi so only armeabi-v7a... ..

from zipline.

vaigunth avatar vaigunth commented on August 25, 2024

+1

I'm facing the same error in OnePlus 6 on app start.
Android version 9.0.

Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/in.zeta.android-_EMQ_0yW6IrN8iZRxGw3Ug==/base.apk"],nativeLibraryDirectories=[/data/app/x.x.x-_EMQ_0yW6IrN8iZRxGw3Ug==/lib/arm64, /data/app/x.x.x-_EMQ_0yW6IrN8iZRxGw3Ug==/base.apk!/lib/arm64-v8a, /system/lib64]]] couldn't find "libduktape.so"

from zipline.

JakeWharton avatar JakeWharton commented on August 25, 2024

NDK 17 removed our ability to even build for armeabi:

Note: Historically the NDK supported ARMv5 (armeabi), and 32-bit and 64-bit MIPS, but support for these ABIs was removed in NDK r17.

@vaigunth we build for arm64-v8a so if you get an unsatisfied link error then the libraries probably failed to extract. That is tracked by #28.

from zipline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.