title: java.lang.unsatisfiedlinkerror. where to add .so file in eclipse for android application
body: <p>I have created <code>.so</code> file using android NDK. In xxx.java class I added some native methods to call from c/c++ files. these native methods I am calling in my own methods for example like below,</p>
  
  <pre><code>static
      {
      System.loadLibrary("print");
      }
      public native String print(String pM,int len);
      public native int openPrint();
  </code></pre>
  
  <p>The above native methods are calling in my method so that other android application developer can use as an API's.</p>
  
  <pre><code>public static void foo(){
  
           openPrint()
      }
  </code></pre>
  
  <p>Is this right way ?</p>
  
  <p>For this reason I created one <code>myprint.Jar</code> file. it includes the <code>libprint.so</code> file also. </p>
  
  <p>I added above jar file in another application, It's importing the class from xxx.java but whenever I tried to run the application its throwing an error saying that </p>
  
  <pre><code>  FATAL Exception,
    java.lang.UnsatisifiedLinkerror....
  </code></pre>
  
  <p>How to solve the above problem?</p>
  
  <p>Thanks in advance</p>