Building Native Opencv With Ndk On Android Studio
I am making a C++ project which uses openCV and I wish to build it on android studio using android NDK support. On doing so I found out that only the experimental version of gradle
Solution 1:
I added all the 3rd party libraries too and this allowed to compile for arm. To be fair, I also added the 3rd party libraries in jniLibs, just to avoid changing the path as you did up there. Otherwise, I have exactly the same configuration as you, to the point that I copied and pasted your file in a previous stage.
ldLibs += libsDir + "libIlmImf.a"
ldLibs += libsDir + "liblibjpeg.a"
ldLibs += libsDir + "liblibjasper.a"
ldLibs += libsDir +"liblibpng.a"
ldLibs += libsDir +"liblibwebp.a"
Post a Comment for "Building Native Opencv With Ndk On Android Studio"