title: How to install JavaCV on Android and use FrameGrabber
body: <p>Could someone tell me where I'm doing wrong? These are the steps that I have followed:</p>
  <ol>
  <li><p>Downloaded the adt-bundle-windows from android developer website</p>
  </li>
  <li><p>Created a new project and a libs/armeabi folder</p>
  </li>
  <li><p>Extract all the *.so files from javacv-android-arm.jar, opencv-2.4.3-android-arm.zip, and ffmpeg-1.0-android-arm.zip directly into the newly created &quot;libs/armeabi&quot; folder, without creating any new subdirectories.</p>
  <p>(A part that I don't understand is <em>&quot;Extract all the *.so files from javacv-android-arm.jar&quot;</em>, I simply inserted the javacv-android-arm.jar file inside libs/armeabi folder)</p>
  </li>
  <li><p>Navigated to Project &gt; Properties &gt; Java Build Path &gt; Libraries and click &quot;Add JARs...&quot;.</p>
  </li>
  <li><p>Selected both javacpp.jar and javacv.jar from the newly created &quot;libs&quot; folder.</p>
  </li>
  </ol>
  <p>After that I have downloaded OpenCV2.4.3 from <a href="http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.3/OpenCV-2.4.3.exe/download" rel="nofollow noreferrer">here</a> and ffmpeg from <a href="http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20121029-git-11d695d-win64-shared.7z" rel="nofollow noreferrer">here</a> and extracted the files on my C:/ root.
  Finally after setting my system path...,</p>
  <pre><code>C:\opencv\build\x64\vc10\bin;C:\ffmpeg-64\bin;C:\Program Files\Java\jdk1.7.0_10\bin
  </code></pre>
  <p>...if I try to use simply FrameGrabber in my Android application...</p>
  <pre><code>import com.googlecode.javacv.FFmpegFrameGrabber;
  import com.googlecode.javacpp.Loader;
  import com.googlecode.javacv.*;
  import com.googlecode.javacv.cpp.*;
  import static com.googlecode.javacv.cpp.opencv_core.*;
  import static com.googlecode.javacv.cpp.opencv_imgproc.*;
  import static com.googlecode.javacv.cpp.opencv_calib3d.*;
  import static com.googlecode.javacv.cpp.opencv_objdetect.*;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          
          FFmpegFrameGrabber i = new FFmpegFrameGrabber(&quot;/mnt/sdcard/SinglePerson.avi&quot;); 
      }
  </code></pre>
  <p>...I get the following errors:</p>
  <pre><code>01-29 17:59:26.976: E/AndroidRuntime(30656): FATAL EXCEPTION: main
  01-29 17:59:26.976: E/AndroidRuntime(30656): java.lang.NoClassDefFoundError: com.googlecode.javacv.FFmpegFrameGrabber
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.example.xxxxxxxxx.MainActivity.onCreate(MainActivity.java:23)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.Activity.performCreate(Activity.java:4465)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.os.Handler.dispatchMessage(Handler.java:99)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.os.Looper.loop(Looper.java:137)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.main(ActivityThread.java:4424)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at java.lang.reflect.Method.invokeNative(Native Method)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at java.lang.reflect.Method.invoke(Method.java:511)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  01-29 17:59:26.976: E/AndroidRuntime(30656):    at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  <p>Someone can help me please?</p>