title: Load and display image in Android Studio using OpenCV
body: <p>I'm trying to load and display an image in Android Studio using OpenCV but it's crash. I don't find where is the problem...
  <strong>Appreciate any helps! Thanks!</strong></p>
  
  <pre><code>public class MainActivity2 extends Activity {
  
  private static final String TAG = "Kate : ";
  BaseLoaderCallback mOpenCVCallBack;
  Mat mRgba;
  ImageView imge1;
  @Override
  public void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main_activity2);
  }
  
  
  private BaseLoaderCallback mLoaderCallback = new BaseLoaderCallback(this) {
      @Override
      public void onManagerConnected(int status) {
          switch (status) {
              case LoaderCallbackInterface.SUCCESS: {
                  Log.i(TAG, "OpenCV loaded successfully");
                  mRgba=new Mat();
                  load_AND_display();
              }
              break;
              default: {
                  super.onManagerConnected(status);
              }
              break;
          }
      }
  };
  
  public void load_AND_display() {
  
      //getting ImageView
      imge1= (ImageView) findViewById(R.id.img1);
  
      try {
          //Loading Image to Mat object
          mRgba= Utils.loadResource(this,R.drawable.mako,Highgui.CV_LOAD_IMAGE_COLOR);
      } catch (IOException e) {
          e.printStackTrace();
      }
      // create a bitmap:
      Bitmap bm = Bitmap.createBitmap(mRgba.cols(), mRgba.rows(),Bitmap.Config.ARGB_8888);
      // convert Mat image to bitmap::
      Utils.matToBitmap(mRgba, bm);
      //setting the image
      imge1.setImageBitmap(bm);
  }
  
  @Override
  public void onResume() {
      super.onResume();
      mLoaderCallback.onManagerConnected(LoaderCallbackInterface.SUCCESS);
      /*OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_6, this, mLoaderCallback);*/
  }
  </code></pre>
  
  <p><strong>this is the Logcat:</strong></p>
  
  <pre><code>05-05 15:54:20.323  29948-29948/com.example.myapplication E/art﹕ No      implementation found for long org.opencv.core.Mat.n_Mat() (tried Java_org_opencv_core_Mat_n_1Mat and Java_org_opencv_core_Mat_n_1Mat__)
  05-05 15:54:20.323  29948-29948/com.example.myapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.myapplication, PID: 29948
  java.lang.UnsatisfiedLinkError: No implementation found for long org.opencv.core.Mat.n_Mat() (tried Java_org_opencv_core_Mat_n_1Mat and Java_org_opencv_core_Mat_n_1Mat__)
  </code></pre>