java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library "/data/app/com.rocky.TestApp-1/lib/arm64/libx264.142.so" >= file size: 0 >= 0

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.

Solutions on the web

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 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 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
dlopen failed: /data/app/com.bhtc.huajuan-2/lib/x86/libffmpeg.so: has text relocations
via GitHub by forgekxf
, 1 year ago
-com.bugtags.library-bugtags-lib-1.2.6_07541ce72d105fe8bb711659f40fea72392456ff-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_b3c6e7122566fb6b5a956318688cb483886e777a-classes.dex
via GitHub by enginebai
, 2 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: dlopen failed: file offset for the library "/data/app/com.rocky.TestApp-1/lib/arm64/libx264.142.so" >= file size: 0 >= 0
at java.lang.Runtime.loadLibrary(Runtime.java:372)
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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 9 months ago
3 times, 8 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
276 more bugmates

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