title: Link module from external project in Android Studio
body: <p>I'm migrating all my project from Eclipse to Android Studio (1.0.2, just download it yesterday) but having issue with external module.</p>
  
  <p>In Eclipse, I have workspace like this</p>
  
  <p><img src="https://i.stack.imgur.com/xOfya.jpg" alt="enter image description here"></p>
  
  <p>All the activities, fragments, models and classes are in 'Core' project. The Core project required some libraries to work (Such as Google Play Service, Facebook or Twitter) While App 1, App 2, App 3 and so on are just while label apps. Those app doesn't contain anything except icons, configuration files, loading images etc. </p>
  
  <p>I manage to import "Core" app and all it dependencies to Android Studio as a new project. When I build the core, <strong>I got 0 errors and 0 warnings</strong></p>
  
  <p><img src="https://i.stack.imgur.com/NqOtM.png" alt="enter image description here"></p>
  
  <p>Then, I create new project call "Test" and link "Core" project to it by following selected answer from this question</p>
  
  <p><a href="https://stackoverflow.com/questions/22243269/how-to-share-a-single-library-source-across-multiple-projects">How to share a single library source across multiple projects</a></p>
  
  <p><strong>setting.gradle of Test Project</strong></p>
  
  <pre><code>include ':Test'
  include '..:..:AppyCore:Core'
  </code></pre>
  
  <p><strong>build.gradle of Test Project</strong></p>
  
  <pre><code>dependencies {
      compile 'com.android.support:support-v4:+'
      compile project('..:..:AppyCore:Core')
  }
  </code></pre>
  
  <p>But, when I rebuild project, I got this error</p>
  
  <pre><code>Error:(41, 0) Project with path ':SlidingMenu' could not be found in project '..:..:AppyCore:Core'
  </code></pre>
  
  <p>When I double click the error message, IDE show me build.gradle of the Core project and highlight the dependency part of the file as following</p>
  
  <p><img src="https://i.stack.imgur.com/TBe6R.png" alt="enter image description here"></p>
  
  <p>Seems like when I try to build the "Test" project, it can't locate all the dependencies of "Core" project. Do you know how to fix this?</p>
  
  <p><strong>Note</strong> </p>
  
  <ul>
  <li>I believe that the "Core" project setup is already correct because I did create "Test 2" app and import "Core" project into the same root directory, same project. It was working without any issue. But this is not an option because I actually have about 20+ white label app. It will be super difficult to update one by one if each of those app has it own "Core".</li>
  <li><p>I think the directory that I include is correct, otherwise, I'll instead get this error </p>
  
  <p>"Error: Configuration with name 'default' not found."</p></li>
  </ul>
  
  <p>(I tried by intentionally put wrong directory and got this same error)</p>