title: android studio can't detect my lib
body: <p>I try to include .so file into my project, here is my gradle :<br/>
  I create folder for <code>jnilibs</code> in this path <code>src\main\jnilibs</code> and all of <code>.so</code> files to that path.<br/>
  Folder structure looks like :<br/></p>
  
  <pre><code>|--jnilibs
  |--|--armeabi
  |--|--|--.so Files
  |--|--armeabi-v7a
  |--|--|--.so Files
  |--|--mips
  |--|--|--.so Files
  |--|--x86
  |--|--|--.so Files
  </code></pre>
  
  <p>and then in gradle set code for <code>jniLibs.srcDirs</code> and add <code>compile fileTree</code>,  my gradle is somthing look like this :</p>
  
  <pre><code>android {
      compileSdkVersion 23
      buildToolsVersion "23.0.3"
      //....other code
      sourceSets {
          main {
              jniLibs.srcDirs = ["src/main/jniLibs", "$buildDir/native-libs"]
          }
      }
  
  }
  task nativeLibsToJar(type: Jar, description: 'create a jar archive of the native libs') {
      destinationDir file("$buildDir/native-libs")
      baseName 'native-libs'
      from fileTree(dir: 'src/main/jnilibs', include: '**/*.so')
      into 'lib/'
  }
  
  tasks.withType(JavaCompile)
          {
              compileTask -&gt; compileTask.dependsOn(nativeLibsToJar)
          }
  
  dependencies {
      compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')
      compile fileTree(include: ['*.jar','.so'], dir: 'libs')
      compile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.3.0'
  }
  </code></pre>
  
  <p>then rebuild, now i see <code>native-libs.jar</code> file in this path : <code>app\build\native-libs</code><br/>
  So now I want to import lib to my project with this code</p>
  
  <pre><code>import org.infradead.libopenconnect.LibOpenConnect;
  </code></pre>
  
  <p>that's all but I get this error now </p>
  
  <pre><code>cannot resolve symbol org.infradead
  </code></pre>
  
  <p>Also I was installed <code>ndk</code>,<code>sdk</code>,<code>cmake</code>,<code>lldb</code> and os is a <code>windwos</code><br/>
  whats wrong ? and how can i fix that ?<br/>
  Kind regards.</p>