kallyani1989 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

java.lang.UnsatisfiedLinkError: Library jniopencv_core not found #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. FacePreview.java (the Android Sample)
2. When trying execute any instruction javacv.

What is the expected output? What do you see instead?
On the FacePreview, on "Loader.load(opencv_objdetect.class))"

08-18 14:14:20.524: ERROR/AndroidRuntime(16527): Caused by: 
java.lang.UnsatisfiedLinkError: Library jniopencv_core not found
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     at 
java.lang.Runtime.loadLibrary(Runtime.java:461)
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     at 
java.lang.System.loadLibrary(System.java:557)
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     at 
com.googlecode.javacpp.Loader.load(Loader.java:343)
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     at 
com.googlecode.javacpp.Loader.load(Loader.java:271)
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     at 
com.googlecode.javacv.cpp.opencv_core.<clinit>(opencv_core.java:126)
08-18 14:14:20.524: ERROR/AndroidRuntime(16527):     ... 39 more

What version of the product are you using? On what operating system?
Windows XP SP3
Android 2.2 (Motorola Droid/Milestone or LG Optimus ME P350)

Please provide any additional information below.

I have put javacpp.jar and javacv.jar in libs directory.

My libs/armeabi folder does contain libjniopencv_core.so and all the other .so 
files from javacv-android-arm.jar.

I see in others projects the folder libs/armeabi-v7a, what is the diference?

There is other .so files to use?

Note: I see the issue 84, I think it is the same problem, but I don´t 
understand what is "recreate your project from scratch".

Thanks!

Original issue reported on code.google.com by ricardoc...@gmail.com on 18 Aug 2011 at 5:44

GoogleCodeExporter commented 8 years ago
Resolved.
Sorry I did´nt put jnilibs on the armeabi-v7a, only in armeabi.

Original comment by ricardoc...@gmail.com on 19 Aug 2011 at 11:09

GoogleCodeExporter commented 8 years ago
Good :)

Original comment by samuel.a...@gmail.com on 20 Aug 2011 at 12:42