本文介绍了ZBAR android ARM 64找不到"libiconv.so".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在三星银河s6边缘上,调用zbar sdk进行扫描时,我的应用程序崩溃了.我认为这是因为我没有arm的zbar版本.

On samsung galaxy s6 edge my app crashes when calling the zbar sdk, for scanning. I think it is because I don't have an arm64 version of zbar.

这是崩溃日志的结尾:

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/.../base.apk"],nativeLibraryDirectories=[/data/app/.../lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libiconv.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)

我在项目中看到没有zbar的arm64 jni库这有关系吗?如果可以的话,我在哪里可以得到 libiconv.so libzbarjni.so 用于arm64吗?

I seen in my project that i don't have arm64 jni libs for zbaris this related ?and if so where can i getlibiconv.solibzbarjni.sofor arm64 ?

推荐答案

所以最终从这里找到了zbar 64位:

So finally found the zbar 64 bit from here:

https://github.com/SkillCollege/ZBarAndroidSDK/tree/master/ZBarScanProjAll/libs

在arm64-v8a下找到.我要做的就是重命名so文件以匹配我的项目.

it is found under arm64-v8a. All i had to do is rename the so file to match my project.

这篇关于ZBAR android ARM 64找不到"libiconv.so".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-07 23:40