So I just created a branch of my Android app then rebuilt and ran it. All is good exception when I try and load up a screen which uses ZBar I get an ExceptionInInitializerError
exception.
The culprit code seems to be the following:
static {
System.loadLibrary("iconv");
}
I've tried debugging this but I can't seem to catch the above exception. After reading it seems it is linked to not being able to find a native library.
Any ideas how to fix this?
I solved it.
It was due to missing native code (.so files) in the folders { x86, armeabi, armeabi-v7a } in the Android projects libs
folder.
For some reason subversion ignored these files so when I branched the code they didn't exist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With