title: java.lang.UnsatisfiedLinkError: dlopen failed
body: <p>I'm building an android app using Ionic and I have an error while trying to read .so file with System.loadLibrary method</p>
  <p>I have plugin.xml file with <code>&lt;lib-file src=&quot;src/android/libs/native-libs.jar&quot;/&gt;</code>
  and this is my android plugin structure<a href="https://i.stack.imgur.com/AYemr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AYemr.png" alt="enter image description here" /></a></p>
  <p>I want to load .so files inside native-libs.jar <code>System.loadLibrary(&quot;jniidengine&quot;)</code>
  And this is my code inside build.gradle <a href="https://i.stack.imgur.com/hCCmw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hCCmw.png" alt="enter image description here" /></a></p>
  <p>But I've got this error  <code>AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library &quot;libjniidengine.so&quot; not found</code></p>
  <p>Also I've tried to add folders from native-libs.jar inside jniLibs folder inside android/src and add to gradle <code>sourceSets { main { jniLibs.srcDirs = ['src/jniLibs'] }</code> but it didn't work too.
  Please help, maybe I'm missing something</p>