igorcoroli / javacv

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

JavaCv on android doesen't work #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I create a new android project in eclipse and I add 
(doing Properties - Java build path - add external lib) javacpp.jar,javacv.jar 
and javacv-android-arm.jar if I run a project  console give me this error:
The library 'javacv-android-arm.jar' contains native libraries that will not 
run on the device.
[2013-03-30 14:25:51 - Project] The following libraries were found:
[2013-03-30 14:25:51 - Project]  - 
com/googlecode/javacv/cpp/android-arm/libjniARToolKitPlus.so
[2013-03-30 14:25:51 - Project]  - 
com/googlecode/javacv/cpp/android-arm/libjniavcodec.so
...etc...

Someone could tell me why? what am I doing wrong? 

Original issue reported on code.google.com by deste...@gmail.com on 30 Mar 2013 at 2:12

GoogleCodeExporter commented 8 years ago
That's a known longstanding bug of the Android SDK. Please follow the 
instructions in the README.txt file for the workaround and it should work.

And please post your questions on the mailing list next time if possible, thank 
you!

Original comment by samuel.a...@gmail.com on 31 Mar 2013 at 11:50

GoogleCodeExporter commented 8 years ago
Thanks! now it works! :D

Original comment by deste...@gmail.com on 31 Mar 2013 at 12:23

GoogleCodeExporter commented 8 years ago
Guys sorry to be dumb and apologies for asking for a quick pointer, what was 
the actual solution here. 
I tried to find the workaround in the readme but didn't get anywhere.
Thanks

Original comment by johnjosh...@gmail.com on 7 May 2013 at 7:58

GoogleCodeExporter commented 8 years ago
Follow the steps 1 to 6 here:
http://code.google.com/p/javacv/#Quick_Start_for_OpenCV_and_FFmpeg

Original comment by samuel.a...@gmail.com on 7 May 2013 at 11:27

GoogleCodeExporter commented 8 years ago
Sorry to reach here bit long and starting again this thread.

1. But for getting the step 4 , I need to get opencv-2.4.6.1-android-arm.jar, 
and ffmpeg-2.0.1-android-arm.jar these two jars and nowhere I could find them.
Any suggestion why and where to find these jars

2.The point called -"without creating any of the subdirectories found in the 
JAR files." does it mean like directly copy all the *.so inside armeabi 
directory and no subdirectory needed to included.

Original comment by abhishek...@gmail.com on 5 Oct 2013 at 7:44