java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.rocky.TestApp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.rocky.TestApp-1/lib/arm64, /data/app/com.rocky.TestApp-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libx264.142.so"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

Solutions on the web

via GitHub by RockyLin
, 1 year ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.rocky.TestApp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.rocky.TestApp-1/lib/arm64, /data/app/com.rocky.TestApp-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libx264.142.so"
via GitHub by RockyLin
, 1 year ago
dlopen failed: file offset for the library "/data/app/com.rocky.TestApp-1/lib/arm64/libx264.142.so" >= file size: 0 >= 0
via GitHub by itheimaAndroid
, 1 year ago
dlopen failed: /data/app/com.bhtc.huajuan-1/lib/arm/libx264.142.so: has text relocations
via GitHub by forgekxf
, 1 year ago
/com.bhtc.huajuan/files/instant-run/dex/slice-Cashier_SDK-v4.2.2_70150e907cbc4ced4a44dda5c7596c8c24043dbc-classes.dex"],nativeLibraryDirectories=[/data/app/com.bhtc.huajuan-2/lib/x86, /data/app/com.bhtc.huajuan-2/base.apk!/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libffmpeg.so"
via GitHub by forgekxf
, 1 year ago
dlopen failed: /data/app/com.bhtc.huajuan-2/lib/x86/libffmpeg.so: has text relocations
via GitHub by enginebai
, 4 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/*/base.apk"],nativeLibraryDirectories=[/data/app/*-1/lib/x86_64, /data/app/*-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]] couldn't find "libffmpeg.so"
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.rocky.TestApp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.rocky.TestApp-1/lib/arm64, /data/app/com.rocky.TestApp-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libx264.142.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15)
at org.wysaid.nativePort.CGEFrameRenderer.(CGEFrameRenderer.java:11)
at org.wysaid.view.CameraGLSurfaceView.onSurfaceCreated(CameraGLSurfaceView.java:413)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1503)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Users with the same issue

Once, 1 month ago
159 times, 3 months ago
4 times, 7 months ago
8 times, 10 months ago
3 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.