I'm trying to make my 64-bit Android device compile local 32-Bit jniLibs which so far is going OK but I sort of ran into a snag.
I have been researching exactly what went wrong for a couple days and puttering around here and there but this is the current error I am getting:
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.opencv.engine-1/lib/arm64/libopencv_java3.so" is 64-bit instead of 32-bit
Which is actually promising considering the 64-bit device recognizes that it is supposed to be compiling 32-bit architecture which I have achieved by omitting arm64, x86_64, and mips64 as according to this answer: Android JNI: 32-bit compatability with 64-bit devices?
The initialization code I use is:
OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_3_0_0, this, mLoaderCallback);
So my questions are as follows:
Is there some way to edit the Abi included in OpenCV 3.0 to recognize that I only desire the 32-bit framework to be loaded after the fact that the device recognizes it is supposed to only be searching for 32-bit framework?
Would the feature loss be worse having reverted to OpenCV 2.4.11 (I am aware that the native camera doesn't work properly on new framework)
If the Abi answer is correct will it correspond to the gradle build at the app level, the project level, or some other (likely opencvlib) level? That part went over my head reading another answer.