Comments (5)
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.
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.
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.
+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.
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)
- Zipline Kotlin Compiler Plugin crashes on wildcard in function signature
- Key-value metadata in Manifest HOT 1
- ConsoleTest is flaky
- Kotlin 1.8.21 release HOT 1
- ServiceTypeCache keys not distinct
- Test that uses a guest program from 1.0
- Test that uses a host program from 1.0
- Build issues / guidance how to use this for JVM HOT 1
- Zipline API compatibility task HOT 6
- @ZiplineId
- Alternative to QuickJS HOT 3
- Compiler crash when Zipline plugin is installed but not used
- EventListener exceptions are awful
- `Zipline`'s `quickJs` property and `QuickJs` type should have an opt-in annotation
- Signing tests are flaky HOT 1
- Consider using `@FastNative` for some JNI calls
- Expose Version Information in EventListener
- Services should likely support providing a local coroutine context for invoking their functions HOT 2
- Ensure ES modules are usable
- Ensure we're prepared for adopting `AutoCloseable` from stdlib HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zipline.