title: how to call lib.so from eclipse juno
body: <p>java and I have its own .so file, I made a new android project and I import the class.java and the so file under <code>lib\armeabi\lib.so</code> I tried to compile it but I got errors about <strong>can't find the library</strong>.</p>
  
  <p>I did many searches and found to make a new so file. I have the header file and I gone to androidtools add native support and created empty cpp. I copied the header content to the cpp then in android.mk I matched the nessecary and then I compiled i am getting some errors</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: Couldn't load FXTEST from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.example.fxtest-.apk,libraryPath=/data/app-lib/com.example.fxtest-2]: findLibrary returned null 
  </code></pre>
  
  <p>I created <code>jni_onload</code> method and still got errors Any Idea? Let me know if you want some pictures, I will attach</p>