java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/[package name]-1/base.apk"],nativeLibraryDirectories=[/data/app/[package name]-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libucrop.so"

GitHub | olivercm | 10 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

    can you add armeabi native code?

    GitHub | 10 months ago | olivercm
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/[package name]-1/base.apk"],nativeLibraryDirectories=[/data/app/[package name]-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libucrop.so"
  2. 0
    samebug 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.
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Fresco can't load libmemchunk.so

    GitHub | 1 year ago | qssq
    java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_9_54fca8cc4c8895083a19bf6e4043b676d2599bf0-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_8_7e3c1ca7ff0981ea4b0937a5e3a9e0ecb1d5672e-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_7_c4c98355a2d48094749c958467e737306bfdb907-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_6_af21bca84264dc65a04379603a68516faafc241c-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_5_f4732705814b1deb12bf1897c11fa0c0dd5e224b-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_4_52d16d58293342a6645beb88d3f438cee9aab9ea-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_3_8b28b718c2df7da0d32156c6d10eae3bd2932fb1-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_2_35fe53731f6ee03883331e6d55521ecd91dab2d3-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_1_4e30b5786afa3b15f481b76e42611e7c639cf7de-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-slice_0_43d5b6d7d579b8199adb345f67d6729c56f838b4-classes.dex", dex file "/data/data/com.huluboshi/files/instant-run/dex/slice-dependencies_cf249d08119d348c44312a7d08c8c45b8e824f78-classes.dex"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libmemchunk.so"
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/app/[package name]-1/base.apk"],nativeLibraryDirectories=[/data/app/[package name]-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libucrop.so"

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:366)
    2. java.lang.System.loadLibrary(System.java:988)
    2 frames
  3. com.yalantis.ucrop
    UCropActivity.onOptionsItemSelected
    1. com.yalantis.ucrop.task.BitmapCropTask.<clinit>(BitmapCropTask.java:35)
    2. com.yalantis.ucrop.view.CropImageView.cropAndSaveImage(CropImageView.java:85)
    3. com.yalantis.ucrop.UCropActivity.cropAndSaveImage(UCropActivity.java:601)
    4. com.yalantis.ucrop.UCropActivity.onOptionsItemSelected(UCropActivity.java:155)
    4 frames
  4. Android Platform
    Activity.onMenuItemSelected
    1. android.app.Activity.onMenuItemSelected(Activity.java:2955)
    1 frame
  5. Android Support v4
    FragmentActivity.onMenuItemSelected
    1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:403)
    1 frame
  6. Android v7
    ActionMenuView$MenuBuilderCallback.onMenuItemSelected
    1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:189)
    2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
    3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
    4. android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
    5. android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:169)
    6. android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:760)
    6 frames
  7. android.support.v7
    MenuBuilder.performItemAction
    1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:811)
    2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
    3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:958)
    4. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:948)
    4 frames
  8. Android v7
    ActionMenuView.invokeItem
    1. android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)
    1 frame
  9. android.support.v7
    ActionMenuItemView.onClick
    1. android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:139)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4909)
    2. android.view.View$PerformClick.run(View.java:20390)
    3. android.os.Handler.handleCallback(Handler.java:815)
    4. android.os.Handler.dispatchMessage(Handler.java:104)
    5. android.os.Looper.loop(Looper.java:194)
    6. android.app.ActivityThread.main(ActivityThread.java:5803)
    6 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1009)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)
    2 frames