Yalantis/uCrop

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.yalantis.ucrop.sample-1/lib/arm/libucrop_v8a.so" is 64-bit instead of 32-bit

Open

#365 opened on Nov 26, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (11,748 stars) (2,134 forks)batch import
help wanted

Description

Do you want to request a feature or report a bug? bug What is the current behavior? when I click the 'crop' button ,app crash. What is the expected behavior? when I click the 'crop' button ,app can crop image normally. If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. There is only one armeabi folder to load so files in my project so that i can reduce the size of my apk. Copy the so files in folder arm64-v8a and armeabi-v7a into armeabi folder, then rename the so files "libucrop_v8a.so" and "libucrop_v7a.so".In my code, application load so file according to the supported ABI type. Finally it crash when i cropped the image. Please attach any image files, URL and stack trace that can be used to reproduce the bug. here is my code and crash log. code crashLog Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?

Contributor guide