title: UnsatisfiedLinkError when run System.loadLibrary
body: <p>I am using pjsip library through android ndk. I used Android NDK 16 to compile pjsip. One user (HTC One, Android 5.0.2) faced a lot of crashes while trying to start our project. This is the error:</p>
  <pre><code> Fatal Exception: java.lang.UnsatisfiedLinkError
  dlopen failed: cannot locate symbol &quot;stdin&quot; referenced by &quot;libpjsua2.so&quot;...
  ... .PjSipApp.&lt;clinit&gt;
  </code></pre>
  <p>In the project we have .so-files for 4 abis, as stated in google android ndk official docs: arm64-v8a, armeabi-v7a, x86, x86_64.
  Here is how I load libraries in code:</p>
  <pre><code>public class PjSipApp {
      private static final String TAG = &quot;Pjsua-PjSipApp&quot;;
  
      static {
          try {
              System.loadLibrary(&quot;openh264&quot;);
              System.loadLibrary(&quot;yuv&quot;);
          } catch (UnsatisfiedLinkError ignore) {
          }
          System.loadLibrary(&quot;pjsua2&quot;);
          Log.v(TAG, &quot;LibraryLoaded&quot;);
      }...
  </code></pre>
  <p>So <code>System.loadLibrary(&quot;pjsua2&quot;);</code> throws this <code>UnsatisfiedLinkError</code>.
  Maybe anyone knows, what is the reason for this?</p>