[英]Unable to find library in eclipse for Android
I have the zbar.jar
in my libs
folder and I have linked it by Build Path/Configure Build Path 我的
libs
文件夹中有zbar.jar
,并且已通过构建路径/配置构建路径将其链接
java.lang.UnsatisfiedLinkError: Couldn't load iconv from loader dalvik.system.PathClassLoader[dexPath=/data/app/net.xxxxx.xxxx-2.apk,libraryPath=/data/app-lib/net.xxxxx.xxxxxx-2]: findLibrary returned null
What else can i do to load this library? 我还可以做什么来加载该库?
help http://assemblyx.net/Untitled-2.png help http://assemblyx.net/Untitled-1.png 帮助http://assemblyx.net/Untitled-2.png 帮助http://assemblyx.net/Untitled-1.png
This has nothing to do with zbar.jar
, the project requires you to have iconv
. 这与
zbar.jar
,该项目要求您具有iconv
。 Check and make sure you copied over libiconv.so
. 检查并确保您复制了
libiconv.so
。
Here are three workarounds that have worked for me: 以下是对我有用的三种解决方法:
Refresh
. Refresh
。 Clean
your project and repeat step 1. Clean
项目并重复步骤1。 Hope it helps. 希望能帮助到你。
右键单击libs文件夹中的* .jar文件,然后转到“构建路径”->“添加到构建路径”-清理并运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.