Skip to content Skip to sidebar Skip to footer

Exception Initialization Error Javacv

I am using javacv for my project, in my project i want to use opencv_highui.cvLoadImage function I have added javacv.jar,javacpp.jar in libs folder,and extract all so files in l

Solution 1:

I have answered your question here. You maybe need to add the .so files in the armeabi folder too, not only armeabi-v7a. I had that problem but in the opposite way and I solved doing it.

By the way, how do you use the function? Remember that you have to put the whole name (also with the directories) if you are not working with pictures in the same folder. I would put it just in case even in that case.

I do it like this and it works:

cvLoadImage("/storage/sdcard0/Download/testpicture.JPG");

Solution 2:

Just put all the *.so files DIRECTLY inside your projects libs/armeabi directory. DO NOT put them inside any other sub-directories such as: libs/armeabi/com/googlecode/... etc


Post a Comment for "Exception Initialization Error Javacv"