title: Adding a .so file in Android Studio
body: <p>I am trying to add an external library, Scandit. I keep getting this error:</p>
  
  <pre><code>    java.lang.UnsatisfiedLinkError: Couldn't load scanditsdk-android-3.3.1 from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.clover.barcode2-1.apk,libraryPath=/data/app-lib/com.clover.barcode2-1]: findLibrary returned null
      at java.lang.Runtime.loadLibrary(Runtime.java:365)
     .....
  </code></pre>
  
  <p>I assume it is because I am not properly including the .so file that comes with the library, but I can't figure out how to do it. </p>
  
  <p>I am using Android Studio and I added the library by going to module settings -> libraries and added the directory with the jar and the directory with the so file.</p>