Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError #20

Open
airtel121 opened this issue Mar 8, 2016 · 1 comment
Open

java.lang.UnsatisfiedLinkError #20

airtel121 opened this issue Mar 8, 2016 · 1 comment

Comments

@airtel121
Copy link

Process: com.ford.openxc.webcam, PID: 20416
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.ford.openxc.webcam-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libwebcam.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at com.ford.openxc.webcam.NativeWebcam.(NativeWebcam.java:26)
at com.ford.openxc.webcam.WebcamManager.onCreate(WebcamManager.java:28)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2763)
at android.app.ActivityThread.access$1800(ActivityThread.java:148)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1375)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5312)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)

@yakobom
Copy link

yakobom commented Apr 20, 2016

I had the same issue at the beginning - the so cannot be found, it was probably not built. You need to build the jni code (the shared object) via the command line. Then clean the project and rebuild it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants