java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/***/files/hotfix/rocoo.dex", zip file "/data/app/***-1/base.apk"],nativeLibraryDirectories=[/data/app/***-1/lib/arm, /data/app/***-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "liblegend.so"

GitHub | xuyangbill | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    动态修复出错

    GitHub | 9 months ago | xuyangbill
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/***/files/hotfix/rocoo.dex", zip file "/data/app/***-1/base.apk"],nativeLibraryDirectories=[/data/app/***-1/lib/arm, /data/app/***-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "liblegend.so"
  2. 0

    动态修复出错

    GitHub | 9 months ago | xuyangbill
    java.lang.UnsatisfiedLinkError: Couldn't load legend from loader dalvik.system.PathClassLoader[DexPathList[[dex file "dalvik.system.DexFile@4247c8c0", zip file "/data/app/***.apk", zip file "/data/data/***/code_cache/secondary-dexes/***-1.apk.classes2.zip"],nativeLibraryDirectories=[/data/app-lib/***-1, /vendor/lib, /system/lib]]]: findLibrary returned null
  3. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  6. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o

  1. iferca 1 times, last 2 months ago
  2. filpgame 1 times, last 2 months ago
  3. Adrien 6 times, last 3 months ago
  4. PKeidel 9 times, last 3 months ago
  5. rafael 3 times, last 2 months ago
32 more registered users
63 unregistered visitors
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

    dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/***/files/hotfix/rocoo.dex", zip file "/data/app/***-1/base.apk"],nativeLibraryDirectories=[/data/app/***-1/lib/arm, /data/app/***-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "liblegend.so"

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:367)
    2. java.lang.System.loadLibrary(System.java:1076)
    2 frames
  3. com.lody.legend
    HookManager.hookMethod
    1. com.lody.legend.utility.LegendNative.<clinit>(LegendNative.java:17)
    2. com.lody.legend.art.ArtMethod.<init>(ArtMethod.java:42)
    3. com.lody.legend.art.ArtMethodStructV23.<init>(ArtMethodStructV23.java:76)
    4. com.lody.legend.art.ArtMethod.of(ArtMethod.java:49)
    5. com.lody.legend.HookManager.hookMethodArt(HookManager.java:195)
    6. com.lody.legend.HookManager.hookMethod(HookManager.java:135)
    6 frames
  4. com.dodola.rocoofix
    RocooFix.applyPatchRuntime
    1. com.dodola.rocoofix.RocooFix.replaceMethod(RocooFix.java:665)
    2. com.dodola.rocoofix.RocooFix.fixClass(RocooFix.java:628)
    3. com.dodola.rocoofix.RocooFix.applyPatchRuntime(RocooFix.java:604)
    3 frames