Monday, 26 August 2013

OpenCV static initialization fails after removing armeabi-v7a folder from libs

OpenCV static initialization fails after removing armeabi-v7a folder from
libs

when I have both libs/armeabi folder and libs/armeabi-v7a folder in my
project, everything works and I'm able to perform static initialization of
OpenCV by calling OpenCVLoader.initDebug()
However, since my primary goal is to support all the older devices that
aren't using ARM v7 CPU's, I heard that armeabi-v7a has some optimization
code while using just armeabi should be working for all devices so I
wanted to remove it to reduce APK size. However after doing that it failed
to initialize on my Samsung Galaxy S3.
Did I do something wrong? How to force it to initialize using libs/armeabi?
Thanks in advance!

No comments:

Post a Comment