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"

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3775

  • 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"
  • dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/packagename-1/base.apk"],nativeLibraryDirectories=[/data/app/package-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libcorelite.so"
  • dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.myapp.hp.testApp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp.hp.testApp-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
  • Stack trace

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

    Write tip

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

    Users with the same issue

    4 times, 1 month ago
    21 times, 9 months ago
    12 times, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    271 more bugmates