Closed gekailin closed 9 years ago
Thanks, but I still could not get it work. I run ndk-build
first in my project directory, and it compiles my jni code into several .so
files in the libs/<arch>/
subdirectories. I added :native-libraries-paths ["libs"]
into the :android
section of my project.clj
, and then run lein droid doall
. But it makes no difference.
Finally I found that's because there are some mistakes in my java code. The solution above works well. Sorry for my carelessness.
When you build the project with DEBUG=1
, does it say Adding native libraries: <list>
?
Thanks~ I didn't know the DEBUG=1
thing before~
So, did you manage to build your project?
Yeah, it was my mistake. Thank you very much!
You are welcome!
Yes, it is possible. I once used OpenCV in a CoA project. Fill in :native-libraries-path, all the rest is quite straightforward.