java.lang.UnsatisfiedLinkError

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.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 15#234816269
    via GitHub by RockyLin
    ,
  • GitHub comment 27#248004761
    via GitHub by forgekxf
    ,
  • GitHub comment 27#252542794
    via GitHub by forgekxf
    ,
  • libavcodec.so: has text relocations
    via Stack Overflow by Signo
    ,
  • Crash on Android M
    via GitHub by lduparc
    ,
  • GitHub comment 190#133580766
    via GitHub by TomAtRB
    ,
    • 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.<clinit>(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

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Mihail Melnic
    2 times, last one,
    Unknown visitor1 times, last one,
    271 more bugmates