siwangqishiq / ImageEditor-Android

AndroidImageEdit 安卓设备上图形编辑开源控件,支持磨皮美白 自定义贴图 图片滤镜 图片旋转 图片剪裁 文字贴图 撤销 回退 等操作
2.18k stars 567 forks source link

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/bane.kjsdev.chitchat-A8DfshSKGqD1z5mpyCIS_w==/lib/arm/libphotoprocessing.so" is 64-bit instead of 32-bit #97

Open erKaranjeet opened 4 years ago

erKaranjeet commented 4 years ago

Everytime i got this issue. Unable to solve this. please help me. I select images and then click on done and editor page open and crashed with the error as below:

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/bane.kjsdev.chitchat-A8DfshSKGqD1z5mpyCIS_w==/lib/arm/libphotoprocessing.so" is 64-bit instead of 32-bit

Please help me to solve this issue. Thanks in advance

siwangqishiq commented 4 years ago

I think this is due to the inconsistency between the local library and the number of bits of your device. It is recommended to change the 32-bit local library file to 64 bit

erKaranjeet commented 4 years ago

I tried to change it but not worked, can you please explain me...

siwangqishiq commented 4 years ago

you can change a 32-bit device to test , To determine if it's really the problem

erKaranjeet commented 4 years ago

Actually i changed function according to phone and this error solved and new one occur. Now new error is "Expecting an absolute path of the library: photoprocessing" Can you help me to solve this?

siwangqishiq commented 4 years ago

Are you using System.load not System.loadLibrary?

erKaranjeet commented 4 years ago

firstly i tried with System.loadLibrary() then it gives error i upper mentioned. then i change it to System.load() now "Expecting an absolute path of the library: photoprocessing" error.