I'm trying to use the ZBar libraries in my project on Android Studio.
I copy the armeabi
armeabi-v7a
and x86
folders inside libs folder of my project. I also copy the zbar.jar
file inside libs.
The MainActivity
and CameraPreview
files are corect.
When I compile the project, the app crashes with this error:
java.lang.UnsatisfiedLinkError: Couldn't load iconv from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/it.coster.barcode-1.apk"],nativeLibraryDirectories=[/data/app-lib/it.coster.barcode-1, /vendor/lib, /system/lib]]]: findLibrary returned null