title: How to include a library module dependency in an Android Studio project?
body: <p>I am migrating a project from Eclipse to AndroidStudio. I have a project used as a lib in this project. This lib is called PullToRefresh.</p>
  
  <p>I've tried many ways to import this project to AS, but anyting I try works.</p>
  
  <p>In my project I have this folder structure:</p>
  
  <pre><code>Project Root
  +-- app
  |   +-- builds
  |   +-- libs
  |   |   +-- PullToRefresh (my lib project)
  |   +-- src
  |   |   +-- main (java code and resources)
  </code></pre>
  
  <p>In the build.gradle, I've tried to do this:</p>
  
  <pre><code>dependencies {
      compile project(":libs:PullToRefresh")
  }
  </code></pre>
  
  <p>But I'm getting this error message:</p>
  
  <pre><code>Gradle 'my_project' project refresh failed: Project with path ':libs:PullToRefresh'
  could not be found in project ':app'
  </code></pre>