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

GitHub | RockyLin | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 15#234816269

    GitHub | 8 months ago | RockyLin
    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
  2. 0

    引用Library Module成功,但是在XML引用org.wysaid.view.CameraRecordGLSurfaceView,报错

    GitHub | 8 months ago | RockyLin
    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"
  3. 0

    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bhtc.huajuan-1/lib/arm/libx264.142.so: has text relocations

    GitHub | 7 months ago | itheimaAndroid
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bhtc.huajuan-1/lib/arm/libx264.142.so: has text relocations
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 27#248004761

    GitHub | 6 months ago | forgekxf
    java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-tv.danmaku.ijk.media-ijkplayer-java-0.5.1_7866197f6370f14b75ff4901bbb2e2f82a1462e0-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-tv.danmaku.ijk.media-ijkplayer-exo-0.5.1_a801e3f2c6de610238fd8865c8db796856a767a1-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-tv.danmaku.ijk.media-ijkplayer-armv7a-0.5.1_20ecdf88dae35860baa7f958595099471f31302c-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-support-annotations-23.1.1_b3b4af8dbd9fcf8f1b1a74a807d3f5c4f4c6a70c-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-qiniu-android-sdk-7.0.10_fdc2a38effae4df79d5047957d2b0008520b772c-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-pinyin4j-2.5.0_62810e4d94b5f6b5a4f0e5b21c22abafffea6fa7-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-org.apache.http.legacy_59674b91c8ba892d7d1436fd4218d508bfe91547-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-okio-1.6.0_a4ab678c71bf682d0e91416e7228da917fc9c6dd-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-okhttputils-2_3_8_1ba3ba08d3577005333d7f4fa95c327853bf2e43-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-okhttp-3.0.1_57745d28f9b5488e4d1c02e3feff3a766f0947ec-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-logging-interceptor-3.0.1_5aba017488d7471b30acbdc317b402e3098e54cd-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-libpingpp-2.1.0_09151760c20cb4bd0c454d22f1f77df40ff1612e-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-libone-2.1.0_896b7a02483d57896f2cb983b342c674b267da39-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-libammsdk_0dba94837cf696e93802307f66f966a6a8463ebb-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-isoviewer-1.0-RC-28_5296944d31b350a511dc6b094f16033820fc69e7-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-internal_impl-23.1.1_001281773e757d321f89e96130fae4fb06807cd1-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-instant-run_70fee5279d1fb54e7b2ff96973b156d2ab27e8b4-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-instant-run-bootstrap_5efc3fb8c02be93d8a4765af5cbdf8d09b10fca6-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-httpclient-4.3.6_2dff9c5181ce43253cf85c1e1ee85b582d53ec0a-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-happy-dns-0.2.5_1c7ada353d746066ad8d2cb4c5a817c1a283375d-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-gson-2.6.2_c0deae0a572880c77f963606f9954c8c4a8551a9-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-glide-3.7.0_f5813f8dbaca8556b51df07c146a7d23ab8e2cbf-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-eventbus-3.0.0_1856975ce1e5f083a9ad4195c5089c5b6fe466f4-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-easemobchat_2.2.9_b9b47a02aadc749346a8147953e664a50e1e4b02-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-core_3.2.0_e8f3d63ae9d5fffe411b444e3181b48f1e10568b-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.tencent.bugly-crashreport-1.2.9_7fb6595a6f5738f7348a174e1f74972e95454ee5-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.google.android.exoplayer-exoplayer-r1.5.7_2dd50cdbec22c552454833079663acdfb02fd7d5-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.github.siyamed-android-shape-imageview-0.9.3_6b3cb8583aa76aaa2dc5b9ef688d94b60cac64af-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.github.rey5137-material-1.1.1_bc9c7918d194d4b165918b33415c27604d9fb5a2-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.dodola-rocoo-1.1_498dd44b6f1688ff92f3d54831ee9eff541c04d8-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.commit451-PhotoView-1.2.4_7517649b7a4a7d37dddd799a37360b26c0da4d09-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-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", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-recyclerview-v7-23.1.1_07db5c7e78ed103e4b391d82b37ab2dca5ceaa08-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-multidex-1.0.1_0116eacd0893e35e6fb57f93ff6aa56f89b8fedb-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-design-23.1.1_a05cfe038a66ae9a1e9a0697be3927aaa564588d-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-cardview-v7-21.0.2_675fe1988d00ba7de17c45f7fce6ae1d61c4818c-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-com.android.support-appcompat-v7-23.1.1_2c2952bd3c80b001187640350e705ec904854948-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-android-async-http-1.4.9_9d6f7cbc8f8826aad67bda30450043515b21f9bc-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-analytics-6.0.1_49362c1f8774bd0cd585d1824526634d18cf71a1-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-alipaySingle-20160111_43b9a78bd5a747415e0cff244cac22e6c9211e36-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-UPPayPluginExPro_b2c08cacfd2db7614ac335619befa783baea40e7-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-UPPayAssistEx_d11ef6d097d1fe1e2d8ff1fa47d44bc9346e1ad3-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-TalkingdataAnalytics_12180840404695a513b089a3a709b8d7f3037818-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-Wechat-Moments-2.7.2_9f3a8022c4436ed799f24bd567a342463249aee9-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-Wechat-Core-2.7.2_e80893826738aec26ad1ba6553008ece9197c0f4-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-Wechat-2.7.2_f6271c43d8df2aa525819596f95ea3d4a333192f-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-SinaWeibo-2.7.2_ca1ce4da5223a1be8c91dc372cdb5a1d757d9655-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-QQ-2.7.2_ddc4fe7a8cf9be83303038a8beb759850cfb1cc1-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-ShareSDK-Core-2.7.2_5bf2b1147f0785b4b0ab978e213636ee301760cf-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-MobTools-2016.0426.1819_25ec71a8b87de270dba699c7fc8c910feb2b6a7c-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-MobCommons-2016.0426.1819_e2c0c60418546d90954658db4b7d56d5c4f6ee2d-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-MiPush_SDK_Client_2_2_21_d98f72245abffb624b0c723114cc722ca2ca0896-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-GetuiSDK2.8.1.0_af9f1471150cd0df0129ce8ffae28bb08256cf16-classes.dex", dex file "/data/data/com.bhtc.huajuan/files/instant-run/dex/slice-GetuiExt-2.0.3_cf2418b7ff87edb7d035fdc4199aa6d4fc12ff15-classes.dex", dex file "/data/data/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"
  6. 0

    GitHub comment 27#252542794

    GitHub | 5 months ago | forgekxf
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bhtc.huajuan-2/lib/x86/libffmpeg.so: has text relocations
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:372)
    2. java.lang.System.loadLibrary(System.java:1076)
    2 frames
  3. org.wysaid.nativePort
    CGEFrameRenderer.<clinit>
    1. org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15)
    2. org.wysaid.nativePort.CGEFrameRenderer.<clinit>(CGEFrameRenderer.java:11)
    2 frames
  4. org.wysaid.view
    CameraGLSurfaceView.onSurfaceCreated
    1. org.wysaid.view.CameraGLSurfaceView.onSurfaceCreated(CameraGLSurfaceView.java:413)
    1 frame
  5. Android Platform
    GLSurfaceView$GLThread.run
    1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1503)
    2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
    2 frames